189 8069 5689

dataGridView使用鼠标单击获得数据写入textbox控件中

private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)

黄石港网站建设公司创新互联,黄石港网站设计制作,有大型网站制作公司丰富经验。已为黄石港上1000家提供企业网站建设服务。企业网站搭建\成都外贸网站制作要多少钱,请找那个售后服务好的黄石港做网站的公司定做!

        {

            textbox.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();/*获得鼠标选取行的第一列数据*/

           }


当前标题:dataGridView使用鼠标单击获得数据写入textbox控件中
网页网址:http://cdxtjz.cn/article/jpjgeo.html

其他资讯