n1.InnerHtml = txtName.Text;
n1.InnerHtml = txtCountry.Text;
Alfa
US
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manikavelu VelayuthamPosted Jan 5, 2011, 12:23 AM
HTML controls are not accessible in code behind page.
To access the HTML controls, it should be converted to server controls.
To convert the control, an ID should be given along with the 'runat="server' tag.
Finally you can access it in code behind page.