how do i bind data to a label?

T

Troye Stonich

basically, i am a classic asp developer wishing to display a single record
from a database based on a querystring parameter:

sql = select projectName from tblProj where projectID = ' " &
Request.Querystring("projectID") & " ' "

what used to be: <p>View Details for: <%= rs("projectName") %></p>

now i have <asp:label /> .....

how do i accomplish this using asp:label?
 

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

Top