摘要: using System;using System.IO;using System.Data;using System.Data.OleDb;using System.Collections.Generic;using System.Text;namespace XlsToCsv{ class Program {static void Main(string[] args) { string so... 阅读全文
posted @ 2008-09-07 16:26 刘佳忻 阅读(2934) 评论(1) 推荐(0) 编辑
摘要: /*------------------------------------------------------------------------------------* 文件名:ExcelCtrol.cs* 文件功能描述:Excel的导入导出* * 创建标识:刘佳忻 20080722* * 修改标识:* 修改描述:* * -----------------------------------... 阅读全文
posted @ 2008-08-04 19:28 刘佳忻 阅读(1360) 评论(1) 推荐(0) 编辑
摘要: protected void ExportExcel_Bn_Click(object sender, EventArgs e) { FileInfo File = new FileInfo(Server.MapPath("_resourses\\UpExcel\\StudentModel.xls"));//Excel文件模板 string sql = "select XH as 学号,XM as ... 阅读全文
posted @ 2008-08-04 19:24 刘佳忻 阅读(2228) 评论(1) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/... 阅读全文
posted @ 2008-07-16 19:13 刘佳忻 阅读(728) 评论(0) 推荐(0) 编辑