<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "
<script runat="server">
protected void Page_Load(object sender
{
//方法
System
GridView
GridView
//得到本機的
foreach (System
{
if (row[
{
Response
}
}
//方法
//需要引用Microsoft
GridView
GridView
}
</script>
<html xmlns="
<head id="Head
<title></title>
</head>
<body>
<form id="form
<asp:GridView ID="GridView
</asp:GridView>
<asp:GridView ID="GridView
</asp:GridView>
</form>
</body>
</html>
From:http://tw.wingwit.com/Article/program/net/201311/14010.html