DataList doesnt display record

Discussion in 'ASP .Net Web Controls' started by Chumley the Walrus, Jul 20, 2004.

  1. I'm trying to display just one record from an sql dbase with a
    datalist control. My sql connection, statement, command, datasource,
    etc are all tested and correct, but I do not see the display for
    'yourname' when simple doing the following:


    <asp:DataList id="thedata" runat="server"
    CellSpacing="1">
    <ItemTemplate>
    <%# Container.DataItem("yourname")%>
    </ItemTemplate>
    </asp:datalist>


    ???????
    chumley
     
    Chumley the Walrus, Jul 20, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Libs
    Replies:
    0
    Views:
    1,498
  2. Nevyn Twyll
    Replies:
    8
    Views:
    1,876
  3. Victor
    Replies:
    6
    Views:
    1,019
    Steven Cheng[MSFT]
    Jul 6, 2007
  4. Replies:
    3
    Views:
    436
    alex23
    May 27, 2008
  5. Jimmy Tran
    Replies:
    1
    Views:
    238
    Dan Brussee
    Oct 3, 2003
Loading...

Share This Page