摘要:
publicTestOne() { InitializeComponent(); SaveFileDialog();//调用打开SaveFileDialog保存对话框 } #region保存对话框 privatevoidSaveFileDialog() { //stringlocalFilePath,fileNameExt,newFileName,FilePath; SaveFileDialogs... 阅读全文
posted @ 2009-12-09 17:09
游游鸟
阅读(2673)
评论(0)
推荐(0)
摘要:
private void ButtonBackUp_Click(object sender, System.EventArgs e) { this.Cursor = Cursors.WaitCursor; string _DBServ = Btnback1.Text; string _DBName = Btnback2.Text; string _DBUser = Btnback3.Text; s... 阅读全文
posted @ 2009-12-09 10:25
游游鸟
阅读(581)
评论(0)
推荐(0)
摘要:
首先请先引用:Microsoft.Office.Interop.Excel 11.0.0.0 . #region 导出excel private void ExportExcel(string fileName, DataGridView myDGV) { string saveFileName = ""; //bool fileSaved = false; SaveFileDialog save... 阅读全文
posted @ 2009-12-09 10:09
游游鸟
阅读(412)
评论(0)
推荐(0)

浙公网安备 33010602011771号