|
-
January 19th, 2011, 04:23 AM
#1
creating a HTML tags in a C# code behind
Hello Guys,
Is there way where I can create a HTML tags eg: table in a C# codebehind?
K
-
January 19th, 2011, 09:11 PM
#2
Re: creating a HTML tags in a C# code behind
-
January 20th, 2011, 03:04 AM
#3
Re: creating a HTML tags in a C# code behind
Yes you can. Create an ASP.NET literal control in the markup page.
In the code behind
Code:
string html = "<input type='submit' value='Click me' />";
literal1.Text = html;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|