I'm trying to use messagebox.show(). but i get an error message like this during the implementation
BC30451: Name 'MessageBox' is not declared.
the code is very simple...
<%@ Page Language="
VB" debug="true"%>
<script runat="server">
sub button_click(sender as object, e as eventargs)
MessageBox.Show("The Username or Password is incorrect", "Invalid Username or Password", _
MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk)
end sub
</script>
<html>
<head>
<title>Test messagebox.show()</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form runat="server">
<asp:button runat="server" id="mybutton" OnClick="button_click"/>
</form>
</body>
</html>
_________________
can anybody tells me what is happening? i've tried to find it out through the internet but unfortunately can't get any answer. any help will be appreciated.