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
THEFUN CHAKTHI
NA
26
6.2k
C# Transfer data from database to database via datagridviews
Feb 27 2018 12:18 PM
I have to allot work for my volunteers. Here I have two Databases as follows
Database1-(Having 3 Columns as)
Name Designation Living
Database 2 (Having 4 Columns as)
Name Designation Living ToWork
My Winform has two ComboBoxes, two datagridviews and two buttons between two datagridviews
ComboBox1 – (RawSource from Database1, Living Column Values)
DatagridView1 displays the result of (ComboBox1 changed) data from Database1 based on selected Living Column rows
ComboBox2 – (RawSource from Database2 , ToWork Column Values)
DatagridView2 displays the result of (ComboBo2 changed) data from Database2 based on selected ToWork Column rows
Here I have are two Button.One button transfer selected data from one datagridview to another datagridview. Here I need code which transfer selected row data from one datagridview to another datagridview at the same time database to database.
(Eg. If selected rows of datagridview1 transferred to datagridview2 at the same time the data also transferred to database1 to database2 vice versa…)
How can I get this… Any help or guide would be appreciate and thankful….
Reply
Answers (
1
)
Crystal Report not displaying data
I need to add a numeric mask to a toolstrip textbox