|
-
Dec 21st, 2006, 04:51 PM
#1
Thread Starter
Fanatic Member
combobox
Hi,
At present I am populating a combo box in winform .net 2.0
It is populated using something like the following method:
cbo.datasource=dataTable
.datamember=
.valuemember=
How can I add an empty item in the very first item
I tried something like:
cbo.items.add("") before the .datasource line, but no change.
This is required so that when the form loads, the combobox is populated but no item should be shown.
Thanks
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
|