|
If the returned value is NULL, bind a new DataTable object
DataView.DataSource = new Datatable ()
DataView.Databind ();
Or put the data source. Clear ();
Because the null value is the Count of the data source is not, not 0, is not
When you Clear (), the Count property value of the object becomes 0, then the binding will also display the table header |
|