Working with a data grind in visual studio-Visual Basic 2008 with an SQL 2008 database.
Posted on 2010-11-08
Here’s the deal. This is a VB 2008 Windows Application project with an SQL 2008 database, and I am comparing what I can do with a “data grid view”, with what I can do in a “details view” from the data sources.
When I use the details view, I notice that the cells are actually text boxes which gives me access to their contents programmatically speaking. I could code in a multiplication function like
Dim Result_A As Integer
Result_A = textbox_A.Text * 110
Label_A = Result_A
Is there a way for me to get access to the contents of the cells in a row (record) if the view is a Data Grid View, and write functions similar to those in the Details view?