a guest Sep 1st, 2018 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <asp:DropDownList ID="DropDownList1" runat="server"
  2.         DataSourceID="SqlDataSource1" DataTextField="track_user"
  3.         DataValueField="track_user" Height="19px" Width="183px" AutoPostBack="True"
  4.             onselectedindexchanged="DropDownList1_SelectedIndexChanged">
  5.     </asp:DropDownList>
  6.     <asp:SqlDataSource ID="SqlDataSource1" runat="server"
  7.         ConnectionString="<%$ ConnectionStrings:MyDatabaseConnectionString %>"
  8.         SelectCommand="SELECT DISTINCT [track_user] FROM [Track]">
  9.     </asp:SqlDataSource>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand