in web config.. :)
<connectionstrings>
<add name="connection1" providername="System.Data.SqlClient" connectionstring="Data Source=ServerName;Initial Catalog=Database1;User ID=sa;Password=***" />
<add name="connection2" providername="System.Data.SqlClient" connectionstring="Data Source=PC1-PC\PC1SQL;Initial Catalog=Database2;User ID=sa;Password=***" />
</connectionstrings>
CS page.. 1) First Dropdown.(ID="ddl1")
protected void ddl1_SelectedIndexChanged(object sender, EventArgs e)
{
SqlConnection cn=new SqlConnection(ConfigurationManager.ConnectionStrings["Connection1"].ConnectionString)
}
CS page.. 2) Second Dropdown.(ID="ddl2")
protected void ddl2_SelectedIndexChanged(object sender, EventArgs e)
{
SqlConnection cn=new SqlConnection(ConfigurationManager.ConnectionStrings["Connection2"].ConnectionString)
}