Saturday, July 19, 2008

ASP.NET: Extract data from a SQLDataSource to a DataTable

 

1. Dim dv As New System.Data.DataView  
2. Dim dt As New System.Data.DataTable  
3. dv = mySQLDataSource.Select(DataSourceSelectArguments.Empty)  
4. dt = dv.ToTable()
Source

No comments:

Post a Comment