Hello, How to clear e contents in the combo box and datagrid after making the selection and wan to reselect again?
Thanks all for e help....
Printable View
Hello, How to clear e contents in the combo box and datagrid after making the selection and wan to reselect again?
Thanks all for e help....
This will reset the combobox and nothing will be shown till user select some value :
VB Code:
ComboBox1.SelectedIndex = -1
How abt e datagrid? Cos i search finished, got show the records ritez? Then i research again, e old records which i had searched in e beri 1st place, show again n combine with e new search.
How to clear the contents in e datagrid in order to let mi search again?
Thanks for all e help....
Try this , though I didn't test it :
VB Code:
DataGrid1.DataSource = Nothing DataGrid1.Refresh()