HTML Control and ASP.Net control question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi is there any way to assing database value to html control like
txtaspcontrol.text=myvalue;
same to html text control

txthtmltextcontrol.text=myvalue through asp.net form i am using asp.net 1.1
 
Sure, just make sure your HTML control has the runat=server attribute. Then
you can access it in your code-behind.
 

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

Back
Top