var objDialog = new ActiveXObject("MSComDlg.CommonDialog");
objDialog.FileName = "C://Documents and Settings//haoqiang//My Documents//EPAL_05687_2009021815530622.csv";
objDialog.Filter = "Microsoft Office Excel(*.csv)|*.csv";
objDialog.FilterIndex = 2;
objDialog.MaxFileSize = 128;
objDialog.ShowSave();
aspnetForm.<%#hidSavePath.ClientID %>.value = objDialog.FileName;
打开文件保存对话框
最新推荐文章于 2023-07-13 10:29:45 发布