Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Charith Liyanagamage
0
148
0
Passing a selected record from one datagridview to another
Sep 19 2013 7:50 AM
Hi All,
I'm developing a windows form application using VS2012 .NET 3.5.
I'm having a problem of adding new record to a datagridview2 from a selected row from another datagridview1.
In brief:
I have one
datagridview1
with few records and another
datagridview2
with few records.
I want to append/merge selected one row (in datagridview cell double click event) in
datagridview1
to
datagridview2
.
Say my
datagridview2
had 2 records initially. now after this action it's having 3 records.
at the moment i'm having a code but it doesn't merge/append data to 2nd grid. Just overwrite.
Can anybody please send me a sample code for the same. I tried some posts but failed.
Thanks,
Charith
Reply
Answers (
4
)
error while using create user wizard or any validation contr
unable to send mail