datagrid update

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I would like to have datagrid update all rows by clicking one button. I
need to know how to cycle through each row and get the value in the 3rd
column. Any help is appreciated.

thnx
everyready
 
Hi,

Dim cmData As CurrencyManager =
CType(Me.BindingContext(DataGrid1.DataSource), CurrencyManager)

For x As Integer = 0 To cmData.Count - 1

Debug.WriteLine(DataGrid1.Item(x, 3).ToString)

Next



Ken

--------------------------------

Hi,
I would like to have datagrid update all rows by clicking one button. I
need to know how to cycle through each row and get the value in the 3rd
column. Any help is appreciated.

thnx
everyready
 
Thank you for your help -
could you show me how to do this for a web datagrid, please?

thnx
 
Ken,

Specifically, I get a error that the CurrencyManager is not defined, and I
cannot find a way to inherit it for a web form.....

thanks
 

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

Back
Top