如下:
private void dataGrid1_Click(object sender, System.EventArgs e)
{
if(ds.Tables["dyw"].Rows.Count!=0)
{
textBox1.Text=ds.Tables["dyw"].Rows[dataGrid1.CurrentRowIndex][列名].ToString().Trim(); //...... }
}http://expert.csdn.net/Expert/topic/1818/1818090.xml?temp=.1367914 :)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货