Get Value of Cell on DataGridView

B

Bails

Hi im trying to build a Poker Timer as a first project using VB
Express.

I have a dataset called PokerTimerDataSet and a Table called Round
information.

Within Round Information I have Fields called Round Number, Length,
Small Blind, Big Blind & Ante.

What I would like to do is take the value for each of these cells and
display them in a lable, but I am struggling to work out how to do
this.

Any help or a pointer in the right direction would be appreciated.

Thanks
 
C

Chris Diver

Hi,

DataGridView.Item(Column,Row).Value or
DataGridView.Item(ColumnName,Row).Value

Not sure if thats what your looking for, you could always take the data
from the DataTable instead.

HTH
Chris
 
B

Bails

Hi,

DataGridView.Item(Column,Row).Value or
DataGridView.Item(ColumnName,Row).Value

Not sure if thats what your looking for, you could always take the data
from the DataTable instead.

HTH
Chris





- Show quoted text -

Thats it!! PERFECT

Thanks heaps. I thought itwould be simple enough, but just couldnt
work it out.

Thanks again!!
 
C

Chris Diver

Bails said:
Thats it!! PERFECT

Thanks heaps. I thought itwould be simple enough, but just couldnt
work it out.

Thanks again!!
No problem, easy when you know where it is, impossible when you don't :)

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top