|
-
Oct 25th, 2002, 06:08 AM
#1
Thread Starter
Addicted Member
I want to display two fields in a DropDownList
I want to display two fields which are from a database in a DropDownList. How can I do that?
-
Oct 25th, 2002, 06:21 AM
#2
Junior Member
If you use DataReader You Can Fill like that:
while Reader.Read
Code:
Combobox.Item.Add(Reader.GetValue(0) & " " & Reader.GetString(1))
Next
-
Oct 25th, 2002, 06:27 AM
#3
Thread Starter
Addicted Member
no, i am using this approch...
Code:
Comp.dapSSDHardwareList.Fill(dstSSDHardwareList)
ddlHardwareID.DataBind()
-
Oct 25th, 2002, 07:11 AM
#4
Frenzied Member
With Kind Permissions from Edneeis;
Edneeis has developed a control for this. See the attachment.
For more infor refere to the post in page 3 with subject of 'display 2 fields in a combobox'
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
|