Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to retrieve the value of a cell from DataGridView control in VB 2005

Posted on 2006-04-17
Medium Priority
Last Modified: 2012-05-05
Hello there,

I am using VB 2005 Std. Ed.
I have a bound DaraGridView control.
The user select the row and click a "SELECT" button.
I want to retrieve the value of (let's say) the second column of the currently selected row.
How do I do that?

Thanks for your time.
Question by:JOSHUABT

Accepted Solution

hatem72 earned 500 total points
ID: 16475079

  DataGridView.Item(Col, Row).Value

Author Comment

ID: 16479495
Thanks hatem72

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question