62,046
社区成员
发帖
与我相关
我的任务
分享
try
{
string path=Server.MapPath("/");
StreamWriter sw = new StreamWriter(path,false,Encoding.UTF8);
sw.Write("测试");
sw.Flush();
}
catch
{
lab.Text="输出无权限";
}
finally
{
sw.Close();
sw.Dispose();
}