TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sandeep kodepaka
NA
106
210k
how to move selected recors from one datagrid to another datagrid
Dec 22 2010 12:32 PM
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>
Reply
Answers (
2
)
radiobutton to datagrid
COM Library registration on IIS