D
darrel
I have a .aspx.vb page that calls a function in a .vb file that has a try
catch.
Usually, I use a catch to display an error. In this case, I want the parent
page to know if the function errors out or now. What's the proper method to
pass this information back to the page?
For insance, here's my aspx.vb page:
------------------------
myFunction()
------------------------
and my .vb class:
------------------------
function myFunction()
try
this
catch
show error
end try
end myFunction
catch.
Usually, I use a catch to display an error. In this case, I want the parent
page to know if the function errors out or now. What's the proper method to
pass this information back to the page?
For insance, here's my aspx.vb page:
------------------------
myFunction()
------------------------
and my .vb class:
------------------------
function myFunction()
try
this
catch
show error
end try
end myFunction