I have the following SqlDataSource and I want to convert it to DataView and read a column from it:
Let me say you have an SqlDataSource named as SqlDataSource1
DataSourceSelectArguments args = new DataSourceSelectArguments();
DataView view = (DataView)SqlDataSource1.Select(args);
DataTable dt = view.ToTable();
Now you can read a column easily from this dt(DataTable) e.g.
int columnNumber = 0;
for(int i=0;i
Reference