获取DataSet中某行某列的数据

LabelText = DataSet11.Tables("COMM.USERS").Rows[0]["User_Name"].tostring()

LabelText = DataSet11.Tables("COMM.USERS").Rows(0).Item("user_name")

Label.Text=ds.Tables(0).Rows(i).Item( "列名 ")

Label.Text=ds.tables[0].rows[0][ "filed "]

Label.Text=ds.Tables[0].Rows[x][y]
---------------------
作者:yudehui
来源:CSDN
原文:https://blog.csdn.net/yudehui/article/details/18843795
版权声明:本文为博主原创文章,转载请附上博文链接!

猜你喜欢

转载自www.cnblogs.com/jijm123/p/11301034.html