when i choose a row of dataGridView with the event Selectionchanged , how to display the record in textboxes ?
Thanks.
datapham
0
Newbie Poster
Recommended Answers
Jump to Postprivate void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs e) { int i = e.RowIndex; int j = e.ColumnIndex; Textbox.Text = dataGridView1.Rows[i].Cells[j].Value.ToString(); }
All 4 Replies
kdcorp87
4
Junior Poster in Training
Geekitygeek
480
Nearly a Posting Virtuoso
datapham
0
Newbie Poster
datapham
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.