摘要:
1.在项目中添加SQLDmo dll文件引用(SQLDMO(SQL Distributed Management Objects,SQL分布式管理对象))2在相应页面加using SQLDMO引用3.下面是用C#语言书写的用于Microsoft SQL Server数据库备份和恢复的类: using System; namespace DbService{/// /// DbOper类,主要实... 阅读全文
摘要:
using System;using System.IO;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls... 阅读全文
摘要:
/**//// /// 执行导出 ,请在项目中先引用Mircorsoft Excel library 11.0 /// /// 要导出的DataSet /// 要导出的文件名 private void doExport(DataSet ds,string strExcelFileName) { Excel.Application excel= n... 阅读全文