为什么会有错误
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim DS As DataSet
Dim MyConnection As SQLConnection
Dim MyCommand As SQLDataSetCommand
MyConnection=New SQLConnection("server='127.0.0.1';uid=dugu;pwd=dugu;database=webemail")
MyCommand=New SQLDataSetCommand("select * from mailuser",MyConnection)
DS=new DataSet()
MyCommand.FillDataSet(ds,"mailuser")
MyDataGrid.DataSource=ds.Tables("mailuser").DefaultView
MyDataGrid.DataBind()
End Sub
</script>
<body>
<asp:datagrid id="MyDataGrid" runat="server"
Width="600" BackColor="#FFFFFF" ShowFooter="false" CellPadding="3"
CellSpacing="0" font-name="Verdana" Font-Size="8Pt" HeaderStyle-BackColor="#999933"
MaintainState="false"
/>
</body>
</html>