Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to open aspx / aspx.cs /css file in textarea using C# ??
how to open when my website is hosted and running on intenret
how to change coding...and saving it
i have no any idea for this...
is it possible...??
if yes then pls give me some coding for idea
Posted

Yes Possible

Try like this

C#
string file = Server.MapPath("WebForm1.aspx");
           txtArea.Text = File.ReadAllText(file);
 
Share this answer
 
Comments
Manish Dalwadi 25-Jan-14 9:33am    
thank you so so much karthik sir..
Karthik_Mahalingam 25-Jan-14 10:08am    
Welcome :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900