Results 1 to 9 of 9

Thread: Call & display SQLDataSource variable.

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2007
    Posts
    332

    Call & display SQLDataSource variable.

    I would like to call and display the selection that is being used as my SQLDataSource

    What is the command that will display it and give me some formating control?


    Code:
    <b>Defensive Boxscore - Select Team:</b>
        <asp:DropDownList ID="DropDownList2" DataSourceID="SqlDataSource4" AutoPostBack="true"
          DataTextField="defense" runat="server" />
        <asp:SqlDataSource ID="SqlDataSource4" runat="server" SelectCommand="SELECT DISTINCT [defense] FROM [cfb_boxscores] ORDER BY [Defense]"
          ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>" />
    Last edited by ggodwin; Apr 21st, 2008 at 09:03 AM. Reason: better sybject

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width