How to write string on web page in asp.net

{0 Comments}

In order to write string value to web page using c sharp in asp.net, we have to use a method know as response. Write method which will allow writing on a web page. Following is the easiest code snippets to write text on web page.

 C# |  copy code |? 
1
Response.Write("hello world");

This response write method accept a parameter which can be simple string or it can be a html code as well  

Leave a Comment

Your email address will not be published.