Hi,
In my asp.net web appliaction using vb.net I am using a class file.
In the class file there is database activity and I would like to place error handling in this class file.
The question is that If I place the error handling in the class file, then how can the .aspx page show that error?
i.e. I can place the try catch ex as exception in the class file but how will the .aspx page know what the error is so that the lblError control is updated.
for example in vb 6 I used to use err.raise but how is this done in vb.net?
Thanks