C
Charles Astwood
Hi, just starting out working my way round C Sharp and aspx.
Used to write all my sites in asp and just need a few pointers in how to
display data.
I have made a connection to my SQL2000 database with SqlConnection as I
think this is the fastest and best?
I have also written my SELECT statement, but am confused in how to display
this data not in a Table as all the examples on the web seem to want me to
do!
In the old days I would have used
<%Response.Write (Rs.Fields("fld_field_1").value)%>
Do I now use something like
<asp:label id=fld_field_1 runat="server"/>
and do I need to put something at the top of the code to use this?
Thanks!
Used to write all my sites in asp and just need a few pointers in how to
display data.
I have made a connection to my SQL2000 database with SqlConnection as I
think this is the fastest and best?
I have also written my SELECT statement, but am confused in how to display
this data not in a Table as all the examples on the web seem to want me to
do!
In the old days I would have used
<%Response.Write (Rs.Fields("fld_field_1").value)%>
Do I now use something like
<asp:label id=fld_field_1 runat="server"/>
and do I need to put something at the top of the code to use this?
Thanks!