how to move selected recors from one datagrid to another datagrid
Hi Frnz
i have two gridview's , if i select multiple rows that perticuler row should be moved to next data grid .
below is the code.
<asp:GridView ID="dgApplicable"
runat="server" AutoGenerateColumns="False" Width="136%"
AllowSorting="True" AllowPaging="True" PageSize="20" onrowediting="dgApplicable_RowEditing"
onpageindexchanging="dgApplicable_PageIndexChanging" Height="127px"
style="margin-right: 75px"
onselectedindexchanged="dgApplicable_SelectedIndexChanged" >
<Columns>
<asp:BoundField DataField="Code" HeaderText="Code" SortExpression="Code ASC"></asp:BoundField>
<asp:BoundField DataField="Category" HeaderText="Category"></asp:BoundField>
</Columns>
</asp:GridView>
<asp:GridView ID="dgAppEmployees" runat="server" AutoGenerateColumns="False" Width="31%"
AllowSorting="True" AllowPaging="True" PageSize="20" onrowediting="dgAppEmployees_RowEditing"
onpageindexchanging="dgAppEmployees_PageIndexChanging" Height="51px" >
<Columns>
<asp:BoundField DataField="EmpCode" HeaderText="EmpCode" SortExpression="Code ASC"></asp:BoundField>
<asp:BoundField DataField="Name" HeaderText="Name"></asp:BoundField>
</Columns>
</asp:GridView>