How to write string on web page in


In order to write string value to web page using c sharp in, 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 |? 
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.