Hi
I am using the same grid to show multiple column formats from several different tables.
VB .NET
I use the above code at the top of my column creating code to "clean" the grid before rebuilding with new columns.
HOWEVER, if my grid comes back correctly with no data then the number of rows previously shown remain on screen as blank rows.
Kind Regards
David
I am using the same grid to show multiple column formats from several different tables.
VB .NET
Me.rgvMain.DataSource = Nothing |
Call Me.rgvMain.Rows.Clear() |
Call Me.rgvMain.MasterGridViewTemplate.Columns.Clear() |
Call Me.rgvMain.Refresh() |
I use the above code at the top of my column creating code to "clean" the grid before rebuilding with new columns.
HOWEVER, if my grid comes back correctly with no data then the number of rows previously shown remain on screen as blank rows.
Kind Regards
David