Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Datagrid Help
#2
Hmmm. Well, I think getting the data from a datagridview cell is pretty simple. All you need is the cell column and cell row. Then, you can get the value with this:
[code2=vbnet]Dim cIndex As Integer = 3 'Column Index
Dim rIndex As Integer = 5 'Row Index

Label1.Text =
Me.DataGridView1.Item(cIndex, rIndex).Value.ToString[/code2]

Hope this helps.
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Datagrid Help - by Moldraxian - 08-13-2012, 08:10 AM
Re: Datagrid Help - by brandonio21_phpbb3_import2 - 08-13-2012, 08:57 PM
Re: Datagrid Help - by Moldraxian - 08-14-2012, 07:24 AM
Re: Datagrid Help - by Moldraxian - 08-14-2012, 08:07 AM
Re: Datagrid Help - by brandonio21_phpbb3_import2 - 08-14-2012, 08:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)