|
-
Sep 16th, 2003, 04:22 AM
#1
Thread Starter
Lively Member
Clear combo box n datagrid
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....
-
Sep 16th, 2003, 07:07 AM
#2
Sleep mode
This will reset the combobox and nothing will be shown till user select some value :
VB Code:
ComboBox1.SelectedIndex = -1
-
Sep 16th, 2003, 08:29 PM
#3
Thread Starter
Lively Member
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....
-
Sep 16th, 2003, 08:46 PM
#4
Sleep mode
Try this , though I didn't test it :
VB Code:
DataGrid1.DataSource = Nothing
DataGrid1.Refresh()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|