导出DBF,并且提供下载
#region Declare
string mFilePath = MapPath("../DataTmp/");
string mTableName = "WYKS";
string mStrConn = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + mFilePath + @"/;Extended Properties=""dBASE IV;HDR=Yes;"";";
System.Data.OleDb.OleDbConnection mOLDBConn = new System.Data.OleDb.OleDbConnection(mStrConn);
if (System.IO.File.Exists(mFilePath + "//" + mTableName + ".DBF") == true)
{
System.IO.File.Delete(mFilePath + "//" + mTableName + ".DBF");
}
#endregion Declare
#region 创建DBF表文件
#region CREATE TABLE
string sqlt = "CREATE TABLE " + mTableName + "(" +
"KSH varchar(18)," +
"KSCJ varc