Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 30, 2012 05:53 AM by Frank Jiang - MSFT
Apr 26, 2012 07:57 AM|LINK
I have a sceniro that i have dropdowns on my webpage .I select their vlaues and sved them into database mean in database i am sending the ids or foreign keys Problem is that in may main table i just have id and its description is in its main table so when
i populate value from Gridview than it just have id so i have to send this id back to database and use this type of query
Select id,description from abc where id = '05' union all select * from abc where id<>'05'
resulted will be like this
Is there any easy way to do this type of task
Apr 30, 2012 05:53 AM|LINK
Binding the DropDownList with your result:
DropDownList1.DataSource = result;
If I have misunderstood your concerns, don't hesitate to let me know.