分类

链接

2025 年 7 月
 123456
78910111213
14151617181920
21222324252627
28293031  

近期文章

热门标签

新人福利,免费薅羊毛

EXCEL转换到TABLE中

//把EXCEL转换到TABLE中         public static DataTable ExcelToDataTable(string excelPath, string strSheetName)         {             string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + excelPath + ";"                                              + "Extended Properties=Excel 5.0;";             string strExcel = string.Format("select * from [{0}]", strSheetName);               DataSet ds = new DataSet();             using (OleDbConnection conn = new OleD...

.NET, Access 暂无评论 阅读(2,546)