摘要:
connectionStr:链接字符串;dataTableName数据库中的表;sourceDataTable dataTable的名称 public static void SqlBulkCopyByDataTable(string connectionStr, string dataTableN 阅读全文
摘要:
protected void btnUpload_Click(object sender, EventArgs e) { if (Page.IsValid) { string sFILENAME = string.Empty; string sFILE_EXT = string.Empty; str 阅读全文
摘要:
//把List<string>转为DataTable List<string> myList = new List<string>(); DataTable dt2 = new DataTable(); dt2.Columns.Add(new DataColumn("sqlString", type 阅读全文
摘要:
转自:http://www.cnblogs.com/jeffwongishandsome/archive/2009/08/05/1526466.html 1、创建方法:方法一:create table TempTableName或select [字段1,字段2,...,] into TempTabl 阅读全文