原创 C# 去除Html標籤
public static string ReplaceHtmlTag(string html, int length = 0){ string strText = Regex.Replace(html, "<
原创 Java從入門到神經病院(三)-Maven
注:maven 安裝前必須安裝 jre 或者 jdk版本需對應 1.Maven是什麼: 擁有 構建項目、編譯 、打包 、分發 等功能的工具 2.Maven核心功能: pom 3.Maven 需
原创 Java從入門到神經病院(三)-IntelliJ IDEA 破解
破解方法參考博客:https://blog.csdn.net/shengshengshiwo/article/details/79599761 IntelliJ IDEA: 版本:2017.3.3 (Ultmate Edition) 破解
原创 C# -string.Formart-N0
將數字按三位用逗號分隔 using System; public class Test { public static void Main() { Console.WriteLine("{0:n}",1000); } }
原创 ActionExecutingContext 返回結果
protected override void OnActionExecuting(ActionExecutingContext filterContext) { string action = RouteData.GetRe
原创 Excel函數 vlookup
vlookup(查什麼,查找範圍,返回第幾列,是否精確查找)
原创 C# DateTime?
DateTime? timenull = null; T o= new T(); o.UpdateTime = r["UpdateTime"] is DBNull ? timenull : Convert.ToDateTime(r["Up
原创 隨機取出集合裏面3條數據
public static List<T> GetRandomThreeInfoList(List<T> list,int count) { List<T> olist = n
原创 Java從入門到神經病院(二)-Java Eclipse快捷鍵
main 方法補全:main+alt+/ print:syso+alt+/
原创 MVC 控制器彈出提示,並跳回當前頁面
return Content("<script>alert('提示信息');history.go(-1);</script>");
原创 Java從入門到神經病院(一)-Java 環境配置
1.環境配置 JDK:1.8 (開發一定要裝) JRE:1.8 (開發可以不用裝) 用戶變量: %JAVA_HOME% Path:%JAVA_HOME%\bin 系統變量:%JAVA_HOME% Path:%JAVA_
原创 SQL Update 觸發器 當本條記錄某個字段更新後,用該記錄去更新另一張表的數據
思路來源於該博客 --SqlServer Update觸發器判斷某個字段的值是否已經更改 https://blog.csdn.net/zhangshufei8001/article/details/51568834 create trig
原创 .netcore
VS17 要升級到 要特定版本 纔可加載 .netcore2.0框架 我記得貌似是15.3版本以上纔可以 netcore2.0加載地址:https://www.cnblogs.com/linezero/p/netcore2andaspn
原创 ashx post 500.12 問題 -ajax palyload formdata
問題: 先說問題 我在本地 發送 ajax post 請求時 如下當 content type爲 utf-8 時 發送的參數 爲 request payload 只有當 content type 爲: form-urlencod
原创 微信小程序大家來找茬 ,快速通過方法
將截取的圖片 利用PS 先轉化爲圖層,然後 改變圖層透明度,圖片不同就會馬上在畫布上展示-2018-2-26 9:44:03