Posted on: 5/24/2011 10:06:45 AM | Views : 1086

I have a table of schools, and a table of campuses.  When someone edits or inserts a school, I have a DetailsView with a DropDownList for all of the campuses.  The DropDownList is built as such:                            <asp:DropDownList ID="CampusDropDownList" runat="server"                                DataSourceID="CampusSqlDataSource" DataTextField="CampusName"                                DataValueField="CampusID" SelectedValue='<%# Bind("CampusID") %>'         ...

Go to the complete details ...