HighTechTalks DotNet Forums  

DropDownList

ASP.net Data Grid Control microsoft.public.dotnet.framework.aspnet.datagridcontrol


Discuss DropDownList in the ASP.net Data Grid Control forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
anonymous
 
Posts: n/a

Default DropDownList - 06-22-2004 , 03:28 PM






In a drop down list you can assing the value from
recordset like this:
country.DataTextField = "country"
country.DataValueField = "Code"
What if I need to assign more value to a DataValueField
from a recordset. Something like this:
country.DataTextField = "country"
country.DataValueField(1) = "Code"
country.DataValueField(2) = "Code1"
How do I do this?


Reply With Quote
  #2  
Old   
Eliyahu Goldin
 
Posts: n/a

Default Re: DropDownList - 06-23-2004 , 06:22 AM






Merge all values into one string and that parse it?

Eliyahu

"anonymous" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
In a drop down list you can assing the value from
recordset like this:
country.DataTextField = "country"
country.DataValueField = "Code"
What if I need to assign more value to a DataValueField
from a recordset. Something like this:
country.DataTextField = "country"
country.DataValueField(1) = "Code"
country.DataValueField(2) = "Code1"
How do I do this?




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.