I'm not sure exactly what you mean by "clear the records" in your datagrid. Since a datagrid is data bound, you'd have to delete all the records in your DataTable ... is this what you want to do?
~~Bonnie
>Im trying to clear the records in my datagrid. I used this method -"TDGName.ClearFields". But i encountered problem becaused my datagrid layout was lost..
>How to clear datagrid and set the row position to "0"?