原创 System.Data.Entity.Core.EntityCommandExecutionException SqlException: Invalid column name

System.Data.Entity.Core.EntityCommandExecutionException   HResult=0x8013193C   Message=An error occurred while executin

原创 jquery 高效實現htmlencode()與htmldecode()函數

htmlEncode: function (html) { return $("<div>").text(html).html(); }, htmlDecode: function (encodedHtml) { retu

原创 C#處理文本文件

 文本文件是一種常用的文件格式,所以如何處理文本文件也就成爲編程的一個重點。本文就來探討一下用C#是如何來處理文本文件。其內容重點就是如何讀取文本文件內容、如何改變文本文件的內容,以及如何用C#來實現對讀取後的文本文件的打印預覽和打印。 

原创 經典正則表達式 (收藏)

經典正則表達式 作者:阿賴 (Email: A at Lai.com.cn 主頁:http://www.9499.net Blog: http://blog.csdn.net/laily/ ) 關鍵字:正則表達式  模式匹配 Java

原创 DruidDataSource CannotGetJdbcConnectionException: Could not get JDBC Connection;

 報錯如下: ### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException:

原创 MySQL not using SSL the verifyServerCertificate property is set to 'false'

Thu Jan 25 13:09:25 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommende

原创 如何讓你的網站排名靠前

網站做好了,怎樣才能讓你的網站在各大搜索引擎中排名靠前呢?網上的帖子很多,通過搜索和總結,整理出了一套自己行之有效的方法,寫出來供大家參考        成功案例推薦:http://www.sooboo.c

原创 爲什麼我的IE如何設置都無法調試asp程序

無法顯示網頁 試圖訪問的網頁出現問題,無法顯示。 -------------------------------------------------------------------------------- 請嘗試執行下列操作: 單

原创 在WinForm程序中使用MVVM開發模式

在WinForm程序中使用MVVM開發模式 熟悉WPF的朋友一定在WPF程序中使用了MVVM的開發模式,因爲MVVM可以帶來以下幾個優點: 1. 低耦合。視圖(View)可以獨立於Model變化和修改,一個ViewModel可以綁定到不同

原创 jpa @ManyToOne Could not determine type for **錯誤

jpa ManyToOne 綁定問題 這種錯誤一般是,這個字段的@Annotation和其他字段的不一致造成的。如果你的@ManyToOne寫在get方法上,這個類每個@column之類的Annotation都寫在get方法上,如果都