Thursday, March 16, 2006

convert a dataview to a dataset dataview to datatable

public static DataTable DataViewAsDataTable( DataView dv)
{
DataTable dt = dv.Table.Clone();
foreach (DataRowView drv in dv)
dt.ImportRow(drv.Row);
return dt;
}

2 Comments:

At 8:24 AM, Anonymous Anonymous said...

This is the most simple example to translate a dataview to a datatable. Great job!

 
At 8:34 PM, Anonymous Anonymous said...

You know ,I have some wonderland Gold,and my friend

also has some wonderland online Gold,do you kouw they

have the same meaning,Both of them can be called
wonderland money,I just want to
buy wonderland Gold,because there are many
cheap wonderland online Gold

 

Post a Comment

<< Home