Ramco Ramco

Ramco Ramco

  • 443
  • 3.4k
  • 517.6k

Convert Grid to Datatable

Apr 30 2023 5:48 AM

Hi

  I have below Gridview. How to convert it into datatable. 

<div class="row">
    <div class="col-lg-12">
        <div class="table-responsive">
            <%--DataKeyNames="BookID" OnRowEditing="OnRowEditing" OnRowCancelingEdit="OnRowCancelingEdit" OnRowUpdating="OnRowUpdating"--%>
            <asp:GridView ID="grdPlanning" class="table table-bordered" runat="server" OnRowDataBound="gr_RowDataBound" OnRowCommand="grdPlanning_RowCommand" 
                > 
            </asp:GridView>
        </div>
    </div>
</div>

Thanks


Answers (4)