C# DataGridView バインドされたクラスではなく、バインドされたクラスのプロパティを表示する方法
C#DataGridViewListListNumNumValueDataGridViewNumValueDataGridView
ToString
DataRowDisplayMemberList
Num
public class Num
{
private BigInteger bint = 0;
public Num()
{
this.bint = 0;
}
public Num(BigInteger value)
{
this.bint = value;
}
public new string ToString()
{
string s = String.Format("{0:D3}", this.bint);
erturn s;
}
public string Value
{
get
{
return this.ToString();
}
}
}
![](