dear All,
how to clear datagrid ? is there anything like datagrid.clear command ?
Pls advise ....TIA
Jas
Printable View
dear All,
how to clear datagrid ? is there anything like datagrid.clear command ?
Pls advise ....TIA
Jas
Set the recordsouce property for the datasource of your datagrid to an empty recordset then refresh the datagrid
VB Code:
Adodc1.Recordset = "SELECT * FROM Customers WHERE 1 = 2" DataGrid1.Refresh