我有一个自定义对象如下
public partial class _AccessionType
{
private string accessionIdField;
private string docUrlField;
/// <remarks/>
public string AccessionId
{
get
{
return this.accessionIdField;
}
set
{
this.accessionIdField = value;
}
}
public string DocUrl
{
get
{
return docUrlField;
}
set
{
docUrlField = value;
}
}
}
上述对象用作 DataGridView 的 DataSource。我想将上述对象转换为 DataRowView。
我该怎么做 ??