newbie question on datagrid

  • Thread starter Thread starter Paolol
  • Start date Start date
P

Paolol

Hi,
I made a simple form , a next,prior button, a datagrid and few text
field with an access DB, if a press next the datafield hare update to
show the current record info, but the Datagrid stay where it was ????
How I can keep the DataGrid alligned with the Database cursor ???
Thanks.
Paolo L.
 
Hi paolo
you might need to create a dataview that is updated every time the
database cursor changes , then rebind the dataview as the datasource of the
datagrid , then call the datagrid.databind. you might want to clarify
more what is the function you desire to do however , this i what i think
you might do according to what i got from your post. hope it would help
 
hi Mohamoss,
thanks for the reply, just try to keep both alligned, when I move the
cursor on the DB from one record to the next I wish to see the grid
going to the same record I display in the "detail" TextBoxs.
Thansk ,
Paolo.
 
Back
Top