//Row Data
var datarow=
{
Item: $("#Item").val().trim(),
Hours: $("#Hours").val().trim(),
- Sep 12 Tue 2017 10:57
-
[jqGrid] 基本操作
- Jul 25 Tue 2017 14:29
-
[ASP.NET] Server.MapPath() 實體路徑 虛擬路徑
System.Web.HttpContext.Current.Server.MapPath()
傳入虛擬路徑 (網址URL,正斜線,例如 https://localhost/)
傳回實體路徑 (檔案總管,反斜線,例如 C:\inetpub\wwwroot )
- Jun 05 Mon 2017 18:36
-
[Visual Studio] 解決方案文件結構分析 => Some of the properties associated with the solution could not be read.

Visual Studio 的解決方案文件是一個文本文件,其中的內容不是太復雜,有些時候 Visual Studio 會把這個文件搞亂,理解一下這個文件的結構,對我們處理一些異常情況有所幫助。
TFS 中特殊的 Global 配置節
如果使用 TFS 來管理項目,在 Global 配置節中會多出來一個 GlobalSection(TeamFoundationVersionControl) = preSolution 的配置節。
需要註意的是,這個多出來的配置節只能有一個,有的時候 TFS 會錯誤的多添加若幹個,這時候,在打開項目的時候,你應該會看到如下的提示信息。
Some of the properties associated with the solution could not be read.
- Apr 18 Tue 2017 13:45
-
[JavaScript] 去掉小數點的零
//去掉小數點的零
function trimzero($str) {
//拆解字串,格式為: 整數.小數
var arr = $str.split('.');
var $int = arr[0];
- Feb 16 Thu 2017 10:34
-
[SQL] 查詢登入者(login_name)與T-SQL
這段sql 可以看出現階段登入的user 跟 SQL 上在執行的sql 碼
SELECT A.session_id,A.login_name,c.
A.host_name,A.program_name,A.
A.nt_domain,A.nt_user_name,A.
A.total_elapsed_time,A.total_
- Dec 29 Thu 2016 14:12
-
.Net 與資料庫溝通
.Net 與資料庫溝通
Sample Code:
//開啟連線
public static SqlConnection OpenSqlConn(string Server, string Database, string dbuid, string dbpwd)
{
- Dec 15 Thu 2016 10:32
-
Email Tool
- Oct 04 Tue 2016 11:51
-
[JavaScript] toFixed 取小數點第幾位 && parseFloat 去掉小數點尾數零
var num = 123.4005;
alert(num);
// toFixed(N) 取小數第N位
alert("toFixed(N):" + num.toFixed(2));
- May 31 Tue 2016 17:44
-
SMART
- May 31 Tue 2016 12:51
-
[English] In wanting nothing, one lacks nothing.
- May 30 Mon 2016 13:21
-
[English] The outside world is full of danger, but here is no challenge of life, is doomed to no applause.
The outside world is full of danger, but here is no challenge of life, is doomed to no applause.
外面的世界充滿危險,但沒有挑戰的生活,注定無人喝采。
-----
- May 29 Sun 2016 12:58
-
[English] Eagles without experience of suffering wind and rain can not fly high in the sky. And to be brave to take risks is an eternal formula for us.
Eagles without experience of suffering wind and rain can not fly high in the sky. And to be brave to take risks is an eternal formula for us.
沒有經歷逆風驟雨的雄鷹不能在空中高飛,勇敢地去冒險是我們永遠的推測。
-----