2017年2月16日 星期四

【Dapper】'System.Data.SqlClient.SqlConnection' does not contain a definition for 'Query'

剛 Nuget Dapper 然後貼了個範例就立碼噴
'System.Data.SqlClient.SqlConnection' 不包含 'Query' 的定義,也找不到擴充方法 'Query' 來接受類型 'System.Data.SqlClient.SqlConnection' 的第一個引數 (您是否遺漏 using 指示詞或組件參考?)

'System.Data.SqlClient.SqlConnection' does not contain a definition for 'Query' and no extension method 'Query' accepting a first argument of type 'System.Data.SqlClient.SqlConnection' could be found (are you missing a using directive or an assembly reference?)

2017年1月10日 星期二

【ASP.NET MVC】The resource cannot be found.

找不到資源。

The resource cannot be found. Description: HTTP 404. The resource you are looking for (... 之類的

2017年1月5日 星期四

【ASP.NET MVC】The model item passed into the dictionary is of type 'TypeA' but this dictionary requires a model item of type 'TypeB'

The model item passed into the dictionary is of type 'TypeA' but this dictionary requires a model item of type 'TypeB'

在 Html.RenderPartial(..., TypeB) 時發生
傳入此字典的模型項目為型別 'TypeA',但是此字典需要型別 'TypeB' 的模型項目。
的錯誤。

2016年12月27日 星期二

【StackOverflow】StackOverflow 一些入門技巧

profile for Circle Hsiao at Stack Overflow, Q&A for professional and enthusiast programmers
因為突然很想要 upvote 跟 comment 的權限,所以這個月花了點時間衝 SO 的 reputation,發現還真是沒有想像中的容易,今天終於達成低標,心情好寫篇最近學習到的技巧紀錄下,內文為初學知識跟個人看法,歡迎留言分享討論。