I am investigating deriving DataSet for business objects. However, since datasets may contain several datatables, I need to ensure that the dataset has a specific table. When casting from a dataset to one of my business objects, I would like to be able to intercept it and check if this table exist. If it does not, I'd like to throw an invalid cast exception. Can this be done?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.