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

}
finally
{
fs1.Close();
}

05-08 15:07