问题描述
<asp:GridViewID="GridView1"runat="server"AllowPaging="True"AutoGenerateColumns="False"DataKeyNames="OrderID"DataSourceID="SqlDataSource1"Height="103px"Width="429px"><Columns><asp:BoundFieldDataField="ProductName"HeaderText="商品名称"SortExpression="ProductName"/><asp:BoundFieldDataField="dan_jia"HeaderText="商品单价"SortExpression="dan_jia"/><asp:BoundFieldDataField="ding_gou_liang"HeaderText="商品订购量"SortExpression="ding_gou_liang"/><%--<asp:BoundFieldDataField="ding_gou_time"HeaderText="订购时间"SortExpression="ding_gou_time"/>--%><asp:BoundFieldDataField="he_ji"HeaderText="价格总计"SortExpression="he_ji"/><asp:BoundFieldDataField="zhe_kou"HeaderText="商品折扣"SortExpression="zhe_kou"/><asp:TemplateFieldHeaderText="删除"><ItemTemplate><asp:CheckBoxID="CheckBox1"runat="server"/></ItemTemplate></asp:TemplateField></Columns></asp:GridView>
解决方案
解决方案二:
包含GridView的Table之类的表格是怎么写的?