由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 如何正确使用WebGrid
相关主题
Tag的实现SQL debug step into a store procedure from another one (转载)
how to debug mpi?大家不觉得这篇文章很有道理么?未来语言的趋势?
能否给些讲debug经验的文章和书籍 (转载)Python小问题
一个debug的问题Python矩阵一问
不同compiler速度可以差很远吗?求算法:非交子集。琢磨好几天了,特向大家求教。
After build,how to run the program on visual C# 2008ask help for several interview questions (转载)
问个超简单的C问题firefox浏览器插件开发,要求实现过滤掉敏感词
C++现在写起来真舒服啊问两个关于Emacs的c++补全问题
相关话题的讨论汇总
话题: webgrid话题: int话题: public话题: set话题: get
进入Programming版参与讨论
1 (共1页)
f********f
发帖数: 475
1
正在working on a web project. 有个WebGrid的使用问题请教大家。
代码:
WebGrid summaryGrid = new WebGrid(summaryData.assets, canPage: false);
其中summaryData.assets是下面的type:
public class CurrencyAsset
{ public string number { get; set; } //Asset number
public int collections { get; set; }
public int tags { get; set; }
Dictionary denomCounts = new Dictionary();

public int notes { get; set; }
public int barcodes { get; set; }
public int assetIncome { get; set; }
。。。。
}
Debug的时候发现summaryGrid.ColumnNames只有6个items,denomCounts没有在里面。
什么原因呢?
多谢了!
c*********e
发帖数: 16335
2
Dictionary 不是string,int之类的简单的变量。

);

【在 f********f 的大作中提到】
: 正在working on a web project. 有个WebGrid的使用问题请教大家。
: 代码:
: WebGrid summaryGrid = new WebGrid(summaryData.assets, canPage: false);
: 其中summaryData.assets是下面的type:
: public class CurrencyAsset
: { public string number { get; set; } //Asset number
: public int collections { get; set; }
: public int tags { get; set; }
: Dictionary denomCounts = new Dictionary();
:

1 (共1页)
进入Programming版参与讨论
相关主题
问两个关于Emacs的c++补全问题不同compiler速度可以差很远吗?
给定一个dictionary,如何用26个字母拼出尽可能多的单词?After build,how to run the program on visual C# 2008
请问pdf还是html更容易text processing?问个超简单的C问题
请教 C++ 题C++现在写起来真舒服啊
Tag的实现SQL debug step into a store procedure from another one (转载)
how to debug mpi?大家不觉得这篇文章很有道理么?未来语言的趋势?
能否给些讲debug经验的文章和书籍 (转载)Python小问题
一个debug的问题Python矩阵一问
相关话题的讨论汇总
话题: webgrid话题: int话题: public话题: set话题: get