博客园站长
这是人类成长进步中记录的每一时刻

FileStream fs1 = null;
try
{
fs1 = new FileStream(@"C:\db.txt", FileMode.Truncate, FileAccess.ReadWrite);
}
catch (Exception ex)
{

}
finally
{
fs1.Close();
}

posted on 2016-02-25 17:03  dm3344  阅读(3753)  评论(0编辑  收藏  举报