上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 55 下一页
摘要: 1、redis studio 2、redis desktop manager 阅读全文
posted @ 2016-12-23 14:12 天王星天 阅读(215) 评论(0) 推荐(0)
摘要: using System.Security.Cryptography.X509Certificates; MessageBox.Show("开始"); //添加个人证书 X509Certificate2 certificate = new X509Certificate2(Application.S 阅读全文
posted @ 2016-11-23 10:00 天王星天 阅读(4625) 评论(0) 推荐(0)
摘要: 先建一个类继承于ApplicationSettingsBase using System; using System.ComponentModel; namespace Concert.Configuration { public sealed class UserSettings : System 阅读全文
posted @ 2016-11-03 11:53 天王星天 阅读(2146) 评论(0) 推荐(0)
摘要: 引言 我不知大家早先是如何保存应用程序配置,以备下次打开时使用的,反正我开始学.Net的时候就去研究序列化,以二进制或XML格式的序列化来保存应用程序配置。这样每次都要建立单独的配置类,并书写读写配置代码,相当麻烦。 期间也看了看.config文件的读写方式,感觉还是很麻烦,不如自己序列化来的踏实。 阅读全文
posted @ 2016-11-03 10:21 天王星天 阅读(2689) 评论(0) 推荐(1)
摘要: 1、定义 在Settings.settings文件中定义配置字段。把作用范围定义为:User则运行时可更改,Applicatiion则运行时不可更改。可以使用数据网格视图,很方便; 2、读取配置值 text1.text = Properties.Settings.Default.FieldName; 阅读全文
posted @ 2016-10-31 15:24 天王星天 阅读(5239) 评论(0) 推荐(0)
摘要: 转转:http://www.cnblogs.com/flyinghigher/archive/2012/03/15/2398669.html 阅读全文
posted @ 2016-10-31 15:23 天王星天 阅读(211) 评论(0) 推荐(0)
摘要: 读语句: String str = ConfigurationManager.AppSettings["DemoKey"]; 写语句: Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLev 阅读全文
posted @ 2016-10-31 15:14 天王星天 阅读(807) 评论(0) 推荐(0)
摘要: 问题 部署项目时,常常需要根据不同的环境使用不同的配置文件。例如,在部署网站时可能希望禁用调试选项,并更改连接字符串以使其指向不同的数据库。在创建 Web 项目时,Visual Studio 自动生成了 Web.config、Web.Debug.config、Web.release.config这3 阅读全文
posted @ 2016-10-31 14:49 天王星天 阅读(4786) 评论(3) 推荐(3)
摘要: 对于你的问题,只需要在你的HTML首行添加如下代码即可隐藏安全提示条: 还有一个可选方案是使用Winform的WebBrowser控件,不需要更改HTML代码,也不会出现安全提示,需要WindowsFormsHost: 可见: http://msdn.microsoft.com/en-us/libr 阅读全文
posted @ 2016-10-28 17:38 天王星天 阅读(3495) 评论(2) 推荐(0)
摘要: http://www.cnblogs.com/peterzb/archive/2009/07/27/1531910.html 阅读全文
posted @ 2016-10-28 10:12 天王星天 阅读(341) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 55 下一页