在學習其他內容之前
<asp:gridview id=
datasourceid=
autogeneratecolumns=
下面的代碼將只顯示三個字段
<asp:gridview id=
datasourceid=
autogeneratecolumns=
</asp:gridview>
<Columns>
<asp:BoundField DataField=
</asp:boundfield>
<asp:BoundField DataField=
</asp:boundfield>
<asp:BoundField DataField=
</asp:boundfield>
</Columns>
</asp:GridView>
[
From:http://tw.wingwit.com/Article/program/net/201311/15267.html