clear datagrid

aj_daria

Member
Joined
Jan 23, 2007
Messages
6
Programming Experience
Beginner
how i want to clear the datagrid. if i want to clear a textbox, just simply add this code : TextBox1.text = "". wat about datagrid?
 
I take is this is a bound Datagrid? if so you'll have to remove the datasource that it get it's information from.

VB.NET:
Datagrid.Datasource = nothing
 
Back
Top