
C#
文章平均质量分 73
ccsbb
热爱生活,热爱编程
展开
-
导出显示数据的Execl
/// /// 导出显示数据Execl /// /// 控件ID public void Excel(System.Web.UI.Control ctl) { HttpContext.Current.Response.AppendHeader("Content-Disposition",原创 2009-09-24 09:31:00 · 597 阅读 · 0 评论 -
.NET读取自定义config文件的案例
using System;using System.Collections.Generic;using System.Text;using System.Xml;using System.Web;namespace My.config{ public class BaseConfig { /// /// 得到配置文件 ///原创 2009-11-17 15:43:00 · 812 阅读 · 0 评论 -
.net 文件点击下载函数 记录
<br />void down(string filepath)<br /> {<br /> //确定文件的物理路径<br /> string filePath = Server.MapPath(filepath);<br /> FileInfo Fi = new FileInfo(filePath);<br /> if (Fi.Exists)<br /> {<br />原创 2011-04-07 15:39:00 · 582 阅读 · 0 评论