首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

哪位帮小弟我详细解释一下

2012-01-15 
哪位帮我详细解释一下ds.Tables[ dsTable ].Rows[0][1]这句什么意思?[解决办法]ds.Tables [ dsTable ]

哪位帮我详细解释一下
ds.Tables   [ "dsTable "].Rows   [0][1]   这句什么意思?

[解决办法]
ds.Tables [ "dsTable "].Rows [0][1]取ds中名为dsTable的DataTable第一行第二列

一般用string value = ds.Tables [ "dsTable "].Rows [0][1].ToString();取这个值

热点排行