dev中gridview获取选中行的某列的值

 string selName = this.gridView1.GetDataRow(this.gridView1.GetSelectedRows()[0]).ItemArray[0].ToString();//获取选中行的某列的值

posted @ 2021-11-19 16:41  一起看海吗  阅读(290)  评论(0)    收藏  举报