更简单的问题,我如何制作自己的?
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; }
}