I'm trying to convert sqldatasource to dataTable but I recieved an error.
Here is the error:
'Telerik.Reporting.SqlDataSource' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'Telerik.Reporting.SqlDataSource' could be found (are you missing a using directive or an assembly reference?)
DataSourceSelectArguments args = new DataSourceSelectArguments();
DataView view = (DataView)sqlDataSource1.Select(args);
DataTable table = view.ToTable();
Which namespace should I use and which assembly should I add? Or maybe its not supported?