Dim dlg As new SaveFileDialog dlg.Filter= "Foxtable文件|*.Table" If dlg.ShowDialog = DialogResult.OK Then FileSys.CopyFile(ProjectFile,dlg.FileName,True) Syscmd.Project.Open(dlg.filename) For Each dt As DataTable In DataTables dt.DataRows.clear Next End If