hi,
after fetching the data into the datagridview, how to display the value of a particular field of a selected row, in a textbox.
Nitin
hi,
after fetching the data into the datagridview, how to display the value of a particular field of a selected row, in a textbox.
Nitin
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ryan AlfordPosted Nov 27, 2007, 1:00 PM
textbox.text = datagridview.CurrentRow.Cells[x].Value.ToString();
// where "x" is teh column of the value that you want to display