摘要:
protected void Export_Excel(DataTable dt) { string filename = "学生基本信息.xls"; if (Request.UserAgent.IndexOf("firefox") == -1) { filename = HttpU... 阅读全文
posted @ 2013-11-29 16:30
yuefengkai
阅读(391)
评论(0)
推荐(0)
摘要:
SELECT sc.NAME AS 学校名称 ,xueyuan.NAME AS 院系 ,StudentNo AS 学号 ,st.StudentName AS 学生姓名 ,st.sex AS 性别 ,st.IDCard AS 身份证 ,st.Mail AS 邮箱 ,st.Telephone AS 电话 ,st.QQ AS QQ ,Cod... 阅读全文
posted @ 2013-11-29 11:41
yuefengkai
阅读(714)
评论(0)
推荐(0)
摘要:
private string ExcelToStudent() { /*---*/ var preStr = DateTime.Now.ToString("yyyyMMddHHmmssfff") + "_";//文件前缀 var httpFile = Request.Files["fileUpload"]; bool flag = !(httpFile.ContentType != "application/vnd.ms-excel"); if (httpFile.ContentType != ... 阅读全文
posted @ 2013-11-29 11:15
yuefengkai
阅读(1346)
评论(0)
推荐(0)

浙公网安备 33010602011771号