We are using the Data Access Application blocks of .Net for getting data from Database. This has a method for retrieving a dataset . We have a custom class which inherits from a DataSet and builds its own DataTables .We are trying to use the ExecuteDataSet method of the data Access Application block and use that to populate the DataTable in our custom class . We are not able to do this .Can someone tell us if this is possible by some other way?
The code is like this // custom class inheriting from DataSet public class AssetData :DataSet { // add DataTables here } AssetData ad = SqlHelper.ExecuteDataSet(conn,commandtype,commandText,SqlParams) This line gives an error. I am not able to make it work even if I cast the resulting dataset to the type AssetData thanks for any help George __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.