摘要:
假如Excel中的数据如下:数据库建表如下:其中Id为自增字段:代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data;using System.Data.OleDb;using System.Configuration;using System.Data.SqlClient;namespace InExcelOutExcel{ publi. 阅读全文