> ...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 do this by providing explicit and implicit conversion
operators for your class.


--
Steve Johnson
3t Systems

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to