公告版位
- May 31 Thu 2018 09:07
如何判別是否為陣列
- May 30 Wed 2018 10:24
Array filter , map, sort ,filter StartsWith
filterTest (input_p: any) {
- May 29 Tue 2018 17:12
[點燈坊]深入探討 TypeScript 之基本型別
- May 29 Tue 2018 09:11
[Angular 2] 如何讓變數在兩個components傳遞?
參考資料:
http://ben-do.github.io/2016/07/22/Note-of-Angular-2-How-to-pass-variable-between-two-components/
- May 26 Sat 2018 15:54
如何:使用 foreach 存取集合類別 (C# 程式設計手冊)
Tokens f = new Tokens("This is a sample sentence.", newchar[] {' ','-'}); // Display the tokens.
- May 24 Thu 2018 13:48
前端處理JSON資料
[HttpPost]
public JsonResult GetProductsJSONResult()
{
ProductService service = new ProductService();
var data = service.FetchAll();
List<Dictionary<string, object>> ja = new List<Dictionary<string, object>>();
foreach (var item in data)
{
Dictionary<string, object> jo = new Dictionary<string, object>();
jo.Add("ProductID", item.ProductID);
jo.Add("ProductName", item.ProductName);
jo.Add("CategoryID", item.CategoryID);
jo.Add("CategoryName", item.Category.CategoryName);
jo.Add("SupplierID", item.SupplierID);
jo.Add("CompanyName", item.Supplier.CompanyName);
ja.Add(jo);
}
return Json(ja);
}
- May 24 Thu 2018 12:31
npm
- May 23 Wed 2018 15:37
Draggable Dialog 1.0 Anggular Material
onMousedown(event: MouseEvent) {
console.log(event);
- May 23 Wed 2018 14:05
Angular Material Datatable Header Fix
.mat-header-row {
top: 0;
- May 22 Tue 2018 09:06
TYPE array