Best Practice...

  • Thread starter Thread starter VJ
  • Start date Start date
VJ said:
What is the best way to return error from a UserControl to the consuming
application...?

Throw an exception. That is generally the preferred way of signalling
error conditions in .NET, but of course it's especially adequate if your
control is being used in an environment you don't know beforehand.


Oliver Sturm
 
Back
Top