Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have multiple web pages that have dropdown list control on every single page.i want to configure the connection in the webconfig so it will be easier for me to just call the connection to bind the item to dropdown list.i dont have to choose data source for every single page.

is it possible to make it?fyi the server im using to develop web pages is in sql.but only the datasource for dropdown list is call from oracle.i succeed to call the sql connection for inserting data to server.but for databind i dont know how to complete it.


thanks.
Posted

1 solution

The easiest way to do that is to use the SmartTag drop down on the drop down control (the little arrow) and walk through the Wizard to setup your connection. It will ask if you want to save it in Web.Config and if you do it will then be available for all of the others.

Or, you can just add it manually too.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900