DataList doesnt display record

C

Chumley the Walrus

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top