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

推荐订阅源

T
The Blog of Author Tim Ferriss
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Palo Alto Networks Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Schneier on Security
Engineering at Meta
Engineering at Meta
I
InfoQ
L
LangChain Blog
Cyberwarzone
Cyberwarzone
T
Tenable Blog
WordPress大学
WordPress大学
P
Privacy & Cybersecurity Law Blog
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Jina AI
Jina AI
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
博客园 - 三生石上(FineUI控件)
酷 壳 – CoolShell
酷 壳 – CoolShell
Know Your Adversary
Know Your Adversary
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Last Watchdog
The Last Watchdog
Last Week in AI
Last Week in AI
Cloudbric
Cloudbric
S
SegmentFault 最新的问题
爱范儿
爱范儿
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 叶小钗
AI
AI
T
Tor Project blog
I
Intezer
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Visual Studio Blog
N
News and Events Feed by Topic
Latest news
Latest news
S
Security Affairs
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog RSS Feed
C
Cybersecurity and Infrastructure Security Agency CISA
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
S
Securelist

博客园 - pcsky(进哥)

查看Windows下引起Oracle CPU占用率高的神器-qslice 解决BlogEngine.Net系统 Inove主题 在IE6下错位的问题 [原创]asp.net 2.0下的自定义树(myTreeView) DataSet2Excel类(仿Golden32) Visual Studio .NET 2003中自己找到的一个小技巧[图] [函数]截取固定长的字符串(双字节的计2位) 在线人数统计 V1.0(Asp.net+ SqlServer) 源码下载 Visual Studio 2005安装后,原来的Asp.net1.1不能执行的解决方法。 多表连接的SQL写法(SqlServer、Oracle) .Net自动生成Html新闻系统V1.0 Beta 下载 偶用花生壳建了个网站,大家可以去看看 Oracle在.Net开发上的一点经验 pcsky(原作) 大家都在看哪些.Net的书啊? 推荐一本好书:《软件工程思想》 SqlServer存储过程编写经验和优化措施 [转载] 网站信息统计的简单实现过程 pcsky(原作) Asp.Net中检查登陆信息,使用全局过程 pcsky(原作) ODP.NET oracle .NET 数据库访问[转载] 第一次安装Oracle9i
ASP.net 写文件的函数(内容,路径,文件名) pcsky(原作)
pcsky(进哥) · 2004-08-16 · via 博客园 - pcsky(进哥)

'写文件的函数(内容,路径,文件名)
Public Sub FileWrite(ByVal Str As StringByVal myPath As StringByVal myFileName As String)
       
Dim path As String = HttpContext.Current.Server.MapPath(myPath)   '路径
       Dim temp As String = path & "" & myFileName                      '路径+文件名

       
' 删除原文件,如果存在
       If File.Exists(temp) Then
           File.Delete(temp)
       
End If

       
' 建立新文件
       Dim fs As FileStream = File.Create(temp)
       
Dim info As Byte() = Encoding.GetEncoding("gb2312").GetBytes(Str)

       
' 把内容添加到文件中
       fs.Write(info, 0, info.Length)
       fs.Close()
       
'Response.Write("<br>文件成功写入!")
End Sub