I have a custom object as follows
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;
}
}
}
The above object is used as DataSource for DataGridView. I want to convert the above object to DataRowView.
How can I do it ??