Hi
I have in ASP 1.0 used this code without any trouble..
<code>
<script language="VB" runat="server">
Sub Page_Load(Source as Object, E as EventArgs)
If not Page.IsPostBack then
BindGrid
end If
End Sub
Sub BindGrid()
Try
My database connection
Catch SQLexc as sqlexception
Catch exc as exception
'MyError.Text = exc.tostring()
MyError.Text = "trouble"
End Try
End Sub
</script>
</code>
But since I installed 1.1 I get error telling me " 'exception' is not accessible in this context because it is 'Private' ".
I doesn't use code behind files so how do I make this work again?
Regards
M
I have in ASP 1.0 used this code without any trouble..
<code>
<script language="VB" runat="server">
Sub Page_Load(Source as Object, E as EventArgs)
If not Page.IsPostBack then
BindGrid
end If
End Sub
Sub BindGrid()
Try
My database connection
Catch SQLexc as sqlexception
Catch exc as exception
'MyError.Text = exc.tostring()
MyError.Text = "trouble"
End Try
End Sub
</script>
</code>
But since I installed 1.1 I get error telling me " 'exception' is not accessible in this context because it is 'Private' ".
I doesn't use code behind files so how do I make this work again?
Regards
M