dataset问题
我想用3个文本框:tb1,tb2,tb3,来显示数据表aaa中的3个字段的值,请问该怎么写呢?
------解决方案--------------------tb1.Text = (string) dataSet.Tables[ "aaa "].Rows[0][ "字段1 "];
tb2.Text = (string) dataSet.Tables[ "aaa "].Rows[0][ "字段2 "];
tb3.Text = (string) dataSet.Tables[ "aaa "].Rows[0][ "字段3 "];