Dataset的结果集的读取:
//if (Dataset.Tables[0].Rows.Count != 0)
//if (Dataset. != 0)
//{
//this.txtOftenName.Text = Dataset.Tables[0].Rows[0]["name"].ToString();
//}
Datareader的读取:
Datareader= DABusiness.MemberFltUserInfo.GetSpecifyUserInfo(UserId, name);
//遍历结果
while (Datareader.Read())
{
//常用姓名
this.txtOftenName.Text.Trim() = (string)Datareader["name"];