D
Dev
Hi,
I'm removing rows from a gridview using Table.Remove( ). This removes the
rows from the gridview.
But the problem is although it removes rows from the gridview it doesnt
update the Gridview.Rows.Count to return correct number of rows remains on
the gridview. Instead it always returns the number of rows gridview
originally had prior to removing them.
Anybody know why this is happening? How to remove gridview rows in a manner
so that it will update the rows.count property correctly?
Note: I'm looking for a method to directly remove rows from a gridview
without having to rebinding gridview to datasource controls etc...
Dev
I'm removing rows from a gridview using Table.Remove( ). This removes the
rows from the gridview.
But the problem is although it removes rows from the gridview it doesnt
update the Gridview.Rows.Count to return correct number of rows remains on
the gridview. Instead it always returns the number of rows gridview
originally had prior to removing them.
Anybody know why this is happening? How to remove gridview rows in a manner
so that it will update the rows.count property correctly?
Note: I'm looking for a method to directly remove rows from a gridview
without having to rebinding gridview to datasource controls etc...
Dev