惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

www.infosecurity-magazine.com
www.infosecurity-magazine.com
D
DataBreaches.Net
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
F
Full Disclosure
V2EX - 技术
V2EX - 技术
N
News and Events Feed by Topic
Help Net Security
Help Net Security
L
LangChain Blog
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
B
Blog RSS Feed
N
Netflix TechBlog - Medium
N
News | PayPal Newsroom
TaoSecurity Blog
TaoSecurity Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Vulnerabilities – Threatpost
B
Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
I
Intezer
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
AI
AI
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
G
GRAHAM CLULEY
Vercel News
Vercel News
罗磊的独立博客
MyScale Blog
MyScale Blog
Last Week in AI
Last Week in AI
博客园 - 司徒正美
C
CERT Recently Published Vulnerability Notes
GbyAI
GbyAI
Scott Helme
Scott Helme
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Troy Hunt's Blog
A
About on SuperTechFans
P
Privacy International News Feed

博客园 - 浩宇寒星

不走寻常路 设计ASP.NET应用程序的七大绝招 ASP连接11种数据库语法总结 - 浩宇寒星 - 博客园 国内比较有名的一批图片资源网站! 数据库连接字符串大全 如何正确设置BT,以达到自己带宽的最大速度!(转自六月联盟) 内最有份量的破解下载网站一览 最全的在线查询 常用正则表达式 用电脑时一些很经典的技巧 - 浩宇寒星 - 博客园 电脑小绝技 分析总结导致Web站点崩溃最常见的七大原因 WAP技术与业务 WAP中推送技术的分析与设计 数据加密原理与实现方法 RSA加密算法 WAP工作原理及系统架构 WAP数字凭证的使用与防范 认证中心 实现WAP安全的一般方法
将指定页生成静态页面 - 浩宇寒星 - 博客园
浩宇寒星 · 2006-04-22 · via 博客园 - 浩宇寒星

private void Button1_Click(object sender, System.EventArgs e)
  {
   StringWriter sw = new StringWriter ();
   Server.Execute("index.aspx",sw);
   string content = sw.ToString();
   //Response.Write(content);
   //Response.Flush();
   try
   { 
    
    System.IO.StreamWriter swr = new System.IO.StreamWriter(Server.MapPath("index.htm"),false,System.Text.Encoding.Default);
    swr.Write(content);   
    swr.Close();
    sw.Close(); 
    Response.Write("OK");
   }
   catch
   {
   }
  }