- 博客(7)
- 资源 (7)
- 收藏
- 关注
原创 asp.net获取网站路径
网站在服务器磁盘上的物理路径:HttpRunti me. AppDomai nAppPath虚拟程序路径:HttpRuntime.AppDomainAppVirtualPath任何于 Request/HttpContext. Current等相关的方法, 都只能在有请求上下文或者页面时使用. 即在无请求上下文时, HttpContext.Current为null 而上面提到的方法一直可用对于全局Cache对象的访问亦然示例: 输出asp.net网站路径private void re
2020-05-29 11:23:04 879
转载 asp.net 问题,一个button实现文件的下载
网络上找的,都有点复杂。。。。。。。//下载功能public void DownLoad(string pathName){string FilePath = Server.MapPath(pathName);if (System.IO.File.Exists(FilePath)){FileInfo file = new FileInfo(FilePath);Response.ContentEncoding = System.Text.Encoding.GetEncoding("gb2.
2020-05-27 18:45:20 741
原创 windows命令行查看端口占用及终结进程占用
例如端口号为3389:netstat -ano|findstr 3389查询到占用该端口的PID为2378tasklist|findstr 2378即可查到程序名1.在dos下,输入netstat -ano|findstr "8081",查看端口使用情况。2.查看该pid对应的进程名称tasklist|findstr "pid号"3.taskkill /pid pid号 来停止端口占用。4. 如果找到程序名为:php-cgi.exe, 可以taskkill /f /im php-cg
2020-05-15 11:12:27 562
转载 nginx设置http跳转https
当用户在浏览器中输入www.域名.com时,浏览器默认使用的http,如果此时我们网站仅开启https,用户是访问不到的,用户肯定想:妈的,是不是卷钱跑路了!!!在此,我们使用nginx的rewrite功能,将http请求转给https,新建一个server用来来完成这个操作:server{ listen 我的IP:80; server_name 我的域名; rewrite ^(.*)$ https://我的域名 permanent;}重启nginx。参考:http:...
2020-05-15 11:03:11 386
转载 CachedReportSourceWeb Class
https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.CachedReportSourceWebAn object that acts as a mediator between a report and a Web Document Viewer.Namespace:DevExpress.XtraReports.WebAssembly: DevExpress.XtraReports.v20.1.Web.dll.
2020-05-13 21:43:44 281 1
转载 Multi-Value Report Parameters
转自:https://docs.devexpress.com/XtraReports/9998/detailed-guide-to-devexpress-reporting/shape-report-data/use-report-parameters/multi-value-report-parametersThis document describes how to create a multi-value parameter andfilter report databy the specif..
2020-05-13 21:37:26 339 1
原创 XtraReport通过代码传递参数
Pass Parameter Values in CodeThe following code illustrates how to assign a value to a report parameter:using System;using System.Windows.Forms;// ...// Create a report instance.XtraReport1 report = new XtraReport1();// Obtain a parameter and s
2020-05-13 21:25:55 874 1
desta-dw2xls pb dw导出excel
2017-09-12
powerfilter源代码for pb12.5
2017-09-12
silverlight聊天室V1.0源码
2011-06-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人