How to access all values of the selected Row of a DatagridView in C# using Coding, MS Access as a Database..??
abhi10kumar
0
Junior Poster
Recommended Answers
Jump to PostYou would like to get all the values from a dgv`s row?
Lets say you want to get data from 5th row (dgv has 3 columns):
string = column1 = dgv[0,6].Value.ToString(); string = column2 = dgv[1,6].Value.ToString(); string = column3 = dgv[2,6].Value.ToString();
If the column has a …
All 3 Replies
Mitja Bonca
557
Nearly a Posting Maven
Momerath
1,327
Nearly a Senior Poster
Featured Poster
Mitja Bonca
557
Nearly a Posting Maven
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.