<%@ Import Namespace=
<%@ Import NameSpace=
<script laguage=
Dim myConnection As OleDbConnection
Dim myCommand As OleDbCommand
sub page_load(sender as Object
dim dbname as string
dbname=server
myConnection = New OleDbConnection(
myConnection
la
myCommand = New OleDbCommand(
myCommand
la
myCommand = New OleDbCommand(
myCommand
la
myCommand = New OleDbCommand(
myCommand
la
myCommand = New OleDbCommand(
MyDataGrid
MyDataGrid
end sub
</script>
<html>
<body>
<asp:label id=
<asp:label id=
<asp:label id=
<asp:label id=
<ASP:DataGrid id=
BorderColor=
BorderWidth=
GridLines=
CellPadding=
CellSpacing=
Font
Font
HeaderStyle
AlternatingItemStyle
>
</asp:DataGrid>
</body>
</html>
From:http://tw.wingwit.com/Article/program/net/201311/15614.html