if(dataset1.tables[0].rows.count>0)
{
for(int i=0;i
response.write(dataset1.tables[0].rows[i].["列"])
}
}
判断记录条数
DataSet1.Table["dt"].Rows.Count >= i
查看具体记录内容
DataSet1.Table["dt"].Rows[i]["Name"]
if(dataset1.tables[0].rows.count>0)
{
for(int
i=0;i
response.write(dataset1.tables[0].rows[i].["列"])
}
}