Author: casiviani | Posted on: 9/23/2008 8:58:33 PM | Views : 916

I have that problem about the control because i need to set many field from my sql result as DataValue for DropDownList control, is there any way to do this?

but without using for, while, i mean directly from the datasource (dataset) something like this

 

ddlMyDropDown.DataSource = MyDataSet

ddlMyDropDown.DataMember=MyDataSet.Tables(0).TableName

ddlMyDropDown.DataText="Description"

ddlMyDropDown.DataValue= "Id" & "Status" & "PersonOwner"

ddlMyDropDown.DataBind()

 

i need to do that =(

 

Thanks for every1 who come to check my post
...

Go to the complete details ...