DELETE all rows in datagrid 
Author Message
 DELETE all rows in datagrid

How dow you delete all rows in a Datagrid?

Gary



Wed, 23 Mar 2005 19:43:21 GMT  
 DELETE all rows in datagrid
Remove them or delete them? When you delete then, they are still there, but
with RowState set to deleted.
To remove then, you can call DataTable.Clear()
To delete then, loop through the row collection, and call Delete for each
one


Quote:
> How dow you delete all rows in a Datagrid?

> Gary



Thu, 24 Mar 2005 02:48:03 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Delete a row from datagrid

2. Deleting a Row in Datagrid

3. How to delete multiple rows in DataGrid Control 6.0

4. delete multiple rows in DataGrid

5. How to delete selected rows in datagrid which has been bound with recordset?

6. How to delete a row in a datagrid.

7. Delete a row in a Datagrid using VB.net

8. DataGrid row delete

9. How to delete row from datagrid

10. Datagrids, DataSets and deleting Rows

11. DataGrid: how to handle deleted rows

12. Disable Delete row function in Datagrid

 

 
Powered by phpBB® Forum Software