how to clear datagrid view in vb.net
one question in vb.net
Collapse
X
-
Tags: None
-
What are you using for your datasource? If it is a dataset or datatable just set the control you are using to a new instance.Originally posted by milindalalhow to clear datagrid view in vb.net
NathanCode:dataTable = new DataTable(); if(dataTable.Rows.Count == 0) { dataGridView1.DataSource = dataTable; }
Comment