|
| Total Answers and Comments: 3 |
Last Update: June 08, 2009 Asked by: Ayan Ghosh |
|
| | |
|
No best answer available. Please pick the good answer available or submit your answer. | |
December 14, 2005 20:08:59 | #1 |
| Alex |
|
|
RE: How to clear a datagrid on a button click?
| Hi You need to Clear the DataSource of the dadaGrid. So try this: dataSet1.Clear(); dataGrid1.DataSource dataSet1.TableNameHere.DefaultView; or C#: dataGrid1.DataSource null; VB: dataGrid1.DataSource nothing |  | | Is this answer useful? Yes | No | | |
|
| |
Go To Top
|