Thursday, March 22, 2012

HTML Control and ASP.Net control question

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.1Sure, just make sure your HTML control has the runat=server attribute. Then
you can access it in your code-behind.

--
-Demetri

"amjad" wrote:

> 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

No comments:

Post a Comment