`
mmdev
  • 浏览: 12891120 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

asp.net之一 dataGridView控件,选中该行的信息

 
阅读更多

1:选择dataGridView的单击事件dataGridView_名字_Click()

dataGridView_名字_Click()

{

//选择dataGridView选中的行的数据

string sql=("select * from carInfo where 型号='" + dataGridView_CarAdd.SelectedCells[0].Value.ToString() + "'");

}

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics