正在加载图片...
</asp Bound Field> <asp: BoundField Header Text="CategoryID Data F ield="CategoryID SortExpression="CategoryID"> </asp: BoundField> <asp: BoundField Header Text="Quantity PerUnit DataF ield="Quantity PerUnit SortExpression="QuantityPerUnit"> </asp: BoundField> <asp: BoundField Header Text="UnitPrice DataField="UnitPrice SortExpression="UnitPrice"> </asp: BoundField> </Columns> </asp: GridView> <!-数据源控件的设置 <asp: SqlData Source ID="SqIdata Source1"Runat="server SelectCommand= SELECT [ProductID], [ProductName] [CategorylD] [Quantity PerUnit], UnitPrice] FROM [Products Connection String=<% Connection Strings: AppConnection String %> </asp: SqlDataSource>▪ </asp:BoundField> ▪ <asp:BoundField HeaderText="CategoryID" DataField="CategoryID" ▪ SortExpression="CategoryID"> ▪ </asp:BoundField> ▪ <asp:BoundField HeaderText="QuantityPerUnit" DataField="QuantityPerUnit" ▪ SortExpression="QuantityPerUnit"> ▪ </asp:BoundField> ▪ <asp:BoundField HeaderText="UnitPrice" DataField="UnitPrice" ▪ SortExpression="UnitPrice"> ▪ </asp:BoundField> ▪ </Columns> ▪ </asp:GridView> ▪ <!--数据源控件的设置--> ▪ <asp:SqlDataSource ID="SqlDataSource1" Runat="server" ▪ SelectCommand="SELECT [ProductID], [ProductName], [CategoryID], [QuantityPerUnit], ▪ [UnitPrice] FROM [Products]" ▪ ConnectionString="<%$ ConnectionStrings:AppConnectionString1 %>"> ▪ </asp:SqlDataSource>
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有