- 博客(23)
- 收藏
- 关注
转载 对CAB文件进行数字签名
对CAB文件进行数字签名 传说中数字签名之后就可以不出现提示而自动下载,所以也试试: 在\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin 中间有三个小工具,就用他们来实现数字签名。 1.Makecert.exe ---证书创建工具 2.Cert2Spc.exe ---发行者证书测试工具 3.Signcode.exe ---文件签名工具步骤...
2014-06-19 22:47:00
426
转载 利用wsdl.exe生成webservice代理类
根据提供的wsdl生成webservice代理类1、开始->程序->Visual Studio 2005 命令提示2、输入如下红色标记部分D:/Program Files/Microsoft Visual Studio 8/VC>wsdl /language:c# /n:TestDemo /out:d:/Temp/TestService.cs D:/T...
2014-04-28 10:24:00
127
转载 JavaScript 变量用于保存值或者表达式
变量命名方法:匈牙利命名法: 变量名=类型+对象描述Int 整型 —— i Float 浮点 —— fl Boolean 布尔 —— bString 字符串 —— sArray 数组 —— aObject 对象 —— oFunction 函数 —— fnRegular Expression 正则 —— re驼峰命名法: ...
2014-03-21 22:54:00
229
转载 Repeater 添加暂无数据
<FooterTemplate> <tr> <td colspan="10"> <asp:Label ID="lblEmpty" Text="暂无数据..." runat="server" Visible='<%#bool.Par...
2014-03-12 15:15:00
229
转载 Repeater 添加按钮选择一条数据
protected void btnUpdate_Click(object sender, EventArgs e) { Response.Redirect("loan_After_ding_ShowList.aspx?loan_id=" + hiddSelectId.Value); } 1 <%@ Page La...
2014-03-12 15:05:00
118
转载 Repeater连续序列号
<%# Container.ItemIndex + 1 + (this.AspNetPager1.CurrentPageIndex -1)*this.AspNetPager1.PageSize %>转载于:https://www.cnblogs.com/SacredSX/p/3593840.html
2014-03-11 14:17:00
181
转载 Repeater添加暂无数据
<asp:Label ID="lblEmpty" Text="暂无数据" runat="server" Visible='<%#bool.Parse((Repeater1.Items.Count==0).ToString())%>'></asp:Label>转载于:https://www.cnblogs.com/SacredSX/p/35933...
2014-03-11 10:20:00
130
转载 asp.net验证控件不触发情况解决方案
如果在验证控件之前调用了js并带返回那么验证控件的js就未执行到需要在按钮添加if(Page_ClientValidate) return jsfunction();转载于:https://www.cnblogs.com/SacredSX/p/3549416.html...
2014-02-14 12:55:00
306
转载 c# get post
private string get(string url) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.CookieContainer = this.cc; request.Meth...
2014-01-18 03:32:00
139
转载 JS禁用F5
//禁用F5 window.document.onkeydown = KeyStroke; function KeyStroke() { var key = event.keyCode; event.srcElement.releaseCapture(); if (key == 116) { event.keyC...
2013-12-10 15:54:00
154
转载 InstallShield 2010 打包winform程序
InstallShield 2010 打包winform程序1、新建InstallShield MSI Project 2、General Information修改 Product Name 程序名称 Publisher 公司名称 3、Application Data files And Folders 添加文件 Redistributables 选择.NET版本 4、syste...
2013-11-29 23:03:00
154
转载 把aspx页面编译到dll
aspnet_compiler -v /PettyLoan -p E:\web\tmp1 E:\web\tmp也可以在web 网站编译时勾选不可更新转载于:https://www.cnblogs.com/SacredSX/p/3449436.html
2013-11-29 13:50:00
170
转载 强签名第三方dll
ildasm D:\d\Excel.dll /out:D:\d\Excel.ililasm /dll /res:D:\d\Excel.res /key:D:\d\Key.snk D:\d\Excel.il /out:D:\od\Excel.dll转载于:https://www.cnblogs.com/SacredSX/p/3449433.html
2013-11-29 13:48:00
227
转载 InstallShield 2010 去掉顶上标题的InstallShield 字样
在OnBegin里面 SetTitle(IFX_PRODUCT_NAME+"你想要的名字",0,BACKGROUNDCAPTION);转载于:https://www.cnblogs.com/SacredSX/p/3449431.html
2013-11-29 13:47:00
170
转载 asp.net指定IE文档兼容模式
指定文档兼容性模式若要为网页指定文档模式,请使用 meta 元素,以在网页中包含 X-UA-Compatible http-equiv 标头。 以下示例指定“模仿 IE7”模式兼容性。<html><head> <!-- Mimic Internet Explorer 7 --> <meta http-equiv="X-...
2013-11-27 15:07:00
273
转载 asp.net程序集强签名
强名称工具 (Sn.exe)Sn -k test.snk 创建密钥对(私有)sn -p test.snk publickonly.snk (公有)用法:(私有用法)在代码中修改“AssemblyKeyFile”程序集属性[assembly:AssemblyKeyFile("C://test.snk") ] 也可以在Build Option中指定(公有...
2013-11-20 23:36:00
162
转载 将aspx页面编译成dll
虚拟目录是aspnet,实际物理路径是E:\aspnet,我们编译后的目标路径是E:\wwwaspnet_compiler -v /Aspnet -p E:\aspnet E:\www转载于:https://www.cnblogs.com/SacredSX/p/3434345.html...
2013-11-20 21:21:00
157
转载 Jquery 验证数字
<script type="text/javascript"> $(document).ready(function () { $("#error").hide(); $("#txtStuAge").keyup(function () { var $val = $("#txtSt...
2013-11-20 10:53:00
229
转载 c#反编译生成DLL过程
1.使用.NET Reflector 8.2打开需要反编译的dll文件,右键-->Export Source code...-->自动生成反编译文件。打开反编译后的文件夹,将其存储到指定的文件夹下。2.使用VS新建一个解决方案,将反编译生成的项目添加到解决方案中。(解决方案最好和反编译文件放在同一个文件夹内(主要是为了后面方便查找bin文件))3.根据反编译出的代码,...
2013-10-14 16:24:00
487
转载 c#进制转换
//十进制转二进制Console.WriteLine(Convert.ToString(69, 2));//十进制转八进制Console.WriteLine(Convert.ToString(69, 8));//十进制转十六进制Console.WriteLine(Convert.ToString(69, 16));//二进制转十进制Console.Writ...
2013-10-14 16:19:00
85
转载 asp.net ImageButton鼠标事件更换图片
if(!IsPostBack) { ChangeGetCodeImage(); } /// <summary> /// 鼠标经过改变获取验证码图片按钮的图片 /// </summary> priv...
2013-10-10 16:41:00
619
转载 Dotfuscator 5 注册码
Dotfuscator 5 注册码注册说明:1、点击注册,填写任意信息,选择“WEB邮件注册”,点击提交。2、点击“等待确认”,分别填入以下信息:21595和38500,点击确定即可。3、看到“注册状态”是“已确认”即可。邮件内容:Dotfuscator Community Edition Registration Confirmation Thank you for r...
2013-10-09 13:16:00
834
转载 ASP.NET 操作json
用到第三方类库Newtonsoft.Json.dll#region 将datatable转为json /// <summary> /// 返回回JSON数据到 /// </summary> /// <param name="dt">数据表</param>...
2013-09-18 15:54:00
140
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人