grid implemenation issue

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi,
I have two grids bound to different datasets.
When a row of the first grid is selected, the dataset of the second
grid is updated regarding the data of the selected row.
It works fine. However when a new row is selected in the first grid
(that is a row that we are about to add by filling in information), I
would like the second grid to be set to nothing and have 0 records (or
just on blank row in which we could add stuff)

I've tried:
dataset of grid2 = nothing
but it does not work. How can I do that ?

thx
 
cool dude. it works, although to get exactely what i wanted i had to do
:
m_dsFields.Tables(0).Rows.Clear()

thx a lot !
 
Back
Top