且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows窗体文本框中的datagridveiw值

更新时间:2023-12-06 16:36:58

您可以尝试
You can try either
textBox1.Text = dataGridView1.CurrentRow.Cells["Column name"].Value.ToString();




or

textBox1.Text = dataGridView1.CurrentRow.Cells[Column index].Value.ToString();