07 2020 档案
摘要:开机自启动 RegistryKey R_local = Registry.LocalMachine;//RegistryKey R_local = Registry.CurrentUser; RegistryKey R_run = R_local.CreateSubKey(@"SOFTWARE\Mi
阅读全文
摘要:启动redis服务:redis-server.exe redis.windows.conf启动redis客户端:redis-cli.exe -h 127.0.0.1 -p 6379 设置键值对:set myKey abc获取键值对:get myKey 设置哈希:HMSET runoob field1
阅读全文
摘要://type不传默认保留两位 function formatMoney(s, type) { if (/[^0-9\.]/.test(s)) return "0"; if (s == null || s == "") return "0"; s = s.toString().replace(/^(\
阅读全文
摘要:html: <div class="imgbox" style="display: none"> <img id="upImg" alt="上传成功啦" src="" style="width: 690px; height: 220px;" runat="server"/> </div> <inpu
阅读全文
摘要:webconfig配置(必须在第一行) <configuration> <configSections> <section name="RedisSetting" type="System.Configuration.NameValueSectionHandler" /> </configSecti
阅读全文
摘要:MD5(Sourcein, 32); public static string MD5(string Sourcein, int len) { string text = FormsAuthentication.HashPasswordForStoringInConfigFile(Sourcein,
阅读全文
摘要:Get请求 1 /// <summary> 2 /// Get请求 3 /// </summary> 4 /// <param name="url"></param> 5 /// <param name="reslut"></param> 6 /// <returns></returns> 7 pu
阅读全文
摘要://并集, 包含1、2全部list = list1.Union(list2); //交集,1、2相同部分list = list1.Intersect(list2); //差集,1中存在但2中不存在list = list1.Except(list2)
阅读全文
摘要:前项目一直运行正常,突然弹出这个警告,页面所有razor语法智能提示都不能正常提示,找了好久原因,都没能解决,根据经验估计是哪里配置的有问题。果断看下配置文件 web.config 发现里面有这么几个配置。 <add key="webpages:Version" value="2.0.0.1"/>
阅读全文
摘要:回滚git reset --hard 版本号提交git push -f
阅读全文

浙公网安备 33010602011771号