datagridview如何枚举数据表中的列?

时间:2015-04-15 21:39:55

标签: c# datagridview datatable

更简单的问题,我如何制作自己的?

public class MyClass {//this works with DataGridView
    public int MyField1 { get; set; }
    public int MyField2 { get; set; }
}

public class MyClass {//How do I make this one work instead?
    IDictinary<string, int> MyFields { get; set; }
}

0 个答案:

没有答案