文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > httpcontext

httpcontext

  • httpcontext.Current.Cache 和HttpRuntime.Cache的区别

    HttpContext.Current.Cache和HttpRuntime.Cache的区别 . 先看MSDN上的解释:HttpContext.Current.Cache:为当前 HTTP 请求获取Cache对象。 ...

  • C# .net获取电脑IP和MAC

    ... </summary>public static string GetClientIP(){ //如果使用代理,获取真实IPstring userip = string.Empty;if(HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"] != "") {use...

  • C# 将数据导出到Execl汇总

    ...了进去.而我们一般要导出的是数据,DataGrid 控件上的数据. System.Web.UI.Control ctl=this.DataGrid1; //DataGrid1 是你在窗体中拖放的控件 HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Excel.xls&q...

  • c#导出Word文档或者xls遇到图片出现交叉问题

    ... ExportControl(System.Web.UI.Control source, string DocumentType, string filename){//设置Http的头信息,编码格式HttpContext.Current.Response.Buffer = true;HttpContext.Current.Response.Clear();HttpContext.Current.Response.Cl...

  • C# 将数据导出到Execl汇总

    ...的方法,也均用了这个属性。2、将DataGrid控件中的数据导出ExeclSystem.Web.UI.Control ctl=this.DataGrid1;//DataGrid1是你在窗体中拖放的控件HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Excel.xls&q...

  • C#导出Excel总结

    ...输出信息导了进去。而我们一般要导出的是数据,DataGrid控件上的数据。System.Web.UI.Control ctl=this.DataGrid1;//DataGrid1是你在窗体中拖放的控件HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Excel.xls&q...

  • ffserver源码分析

    ...为各个需要多播的流创建相应的multicast ip 和 multicast port。并初始到各个multicast组的rtp连接的context。所谓初始相应的rtp连接的Context是指 分配HttpContext在HttpContext中指明相应连接的protocol state sessionId。//这里注意当HttpContext中使用的是本地avi文件,它的域是怎样初始化的 注意在这里,只要是组播就一...

  • 图片水印类

    ...class warterfont{public void addtexttoimg(string filename, string text){if (!File.Exists(System.Web.HttpContext.Current.Server.MapPath(filename))){throw new FileNotFoundException("the file don't exist!"...

  • 导出Excel文件

    ...输出信息导了进去。而我们一般要导出的是数据,DataGrid控件上的数据。System.Web.UI.Control ctl=this.DataGrid1;//DataGrid1是你在窗体中拖放的控件HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Excel.xls&q...

  • C#数据倒入excel方法总汇

    ...输出信息导了进去。而我们一般要导出的是数据,DataGrid控件上的数据。System.Web.UI.Control ctl=this.DataGrid1;//DataGrid1是你在窗体中拖放的控件HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Excel.xls&q...

    最近文档搜索:

      站点地图 | 文档上传 | 侵权投诉 | 手机版
      本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
      文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email