Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 How does this dropdown communicate with Database?

Author  Topic 

slmgt
Starting Member

37 Posts

Posted - 2011-01-20 : 15:58:32
[code]<asp:DropDownList id="drpBldgExclude" runat="server" DataSourceID="dsPhysicalDrowpdowns" DataTextField="display" DataValueField="value">[/code]

I did not write this code nor am I ASP knowledgeable, but I am trying to learn how this works so I can create another dropdown beneath it. I do not understand how that code is connected to our SQL backend because I cannot find "dsPhysicalDrowpdowns" in any other files/in our DB and "drpBldgExclude" is not the same name as the column in the DB - it is Bldg_Exclude in the DB.

My question is how do these dropdowns communicate with the DB and how would I add a new dropdown to communicate similarly with the DB?

Thanks!
   

- Advertisement -