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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ryan AlfordRank #1,411 · 1.2K reputationPosted Nov 27, 2007, 8:00 AM EST
textbox.text = datagridview.CurrentRow.Cells[x].Value.ToString();
// where "x" is teh column of the value that you want to display