Thursday, 19 September 2013

Get Datatable from SqlDataSource

DataView dv = new DataView();
DataTable dt = new DataTable();
dv = mySQLDataSource.Select(DataSourceSelectArguments.Empty) as DataView;
dt = dv.ToTable();

No comments:

Post a Comment