how can i clear my data table? I am using VB.Net as my front end MySQL as my Back end.

how can i clear my data table? I am using VB.Net as my front end MySQL as my Back end.

Hi,

You can try something like this:

Private Sub ClearTable(table As DataTable)
     Try
         table.Clear()
     Catch e As DataException
	 ' Process exception and return.
          Console.WriteLine("Exception of type {0} occurred.", _
            e.GetType().ToString())
     End Try
 End Sub