where is your sql statement to fill your dataset?tryif(dataSet1.Tables["aaa"].Rows.Count == 0)
by the way, don't use DataSet if you don't need to do, using DataReader is probably more efficient in this case
by the way, don't use DataSet if you don't need to do, using DataReader is probably more efficient in this case
if(dataset.Tables[0].rows.count>0)
{
//注册用户
}
else
{
非注册用户
}