Y
Yama
Hi,
How can I redirect to an error page from a component vb.net?
Public Class bo
Protected Friend Function CreateString(ByRef lst As ListBox) As String
dim s As String
Try
s = "Hello World"
' create a new dataset
Catch ex As Exception
' How can I use Response.Redirect("page.aspx") from here???
Trace.Write(ex.Message)
Finally
End Try
Return s
End Function
End Class
Thanks,
Yama
How can I redirect to an error page from a component vb.net?
Public Class bo
Protected Friend Function CreateString(ByRef lst As ListBox) As String
dim s As String
Try
s = "Hello World"
' create a new dataset
Catch ex As Exception
' How can I use Response.Redirect("page.aspx") from here???
Trace.Write(ex.Message)
Finally
End Try
Return s
End Function
End Class
Thanks,
Yama