zoukankan      html  css  js  c++  java
  • datagridview

            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
    DataSourceID
    ="ObjectDataSource1" PageSize="2">
    <Columns>
    <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
    </Columns>
    </asp:GridView>

    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
    DataObjectTypeName
    ="MyPhotoList.Model.Photos" DeleteMethod="Delete"
    InsertMethod
    ="Add" SelectMethod="GetAllList" TypeName="MyPhotoList.BLL.Photos"
    UpdateMethod
    ="Update">
    <DeleteParameters>
    <asp:Parameter Name="PId" Type="Int32" />
    </DeleteParameters>
    </asp:ObjectDataSource>
  • 相关阅读:
    运算符
    数据运算
    login_code
    headless&unittest
    dict-test
    list_test
    string_test
    python1113
    堆排序
    java线程同步问题
  • 原文地址:https://www.cnblogs.com/gylspx/p/ddd.html
Copyright © 2011-2022 走看看