使用C#在textarea中打开aspx / aspx.cs文件

编程入门 行业动态 更新时间:2024-10-20 05:45:04
本文介绍了使用C#在textarea中打开aspx / aspx.cs文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如何使用C#在textarea中打开aspx / aspx.cs / css文件?? 如何在我的网站托管和运行时打开如何打开 如何改变编码...并保存它 i对此没有任何想法... 是否有可能...... ?? 如果是的然后请给我一些想法的代码

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

推荐答案

是的可能 试试这样 Yes Possible Try like this string file = Server.MapPath("WebForm1.aspx"); txtArea.Text = File.ReadAllText(file);

很有可能。浏览 http:// weblogs。 asp/lduveau/archive/2008/03/02/load-a-txt-file-in-a-textbox.aspx [ ^ ]。 It is quite possible. Go through weblogs.asp/lduveau/archive/2008/03/02/load-a-txt-file-in-a-textbox.aspx[^].

更多推荐

使用C#在textarea中打开aspx / aspx.cs文件

本文发布于:2023-11-10 16:08:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1575839.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   textarea   aspx   cs

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!