Hello buddies, I have two datagrid views on my form.
The first datagridview is bound to a table named contacts. And the second one is bound to a different tables say Group_members. Now My problem is that I want to add the selected row in DataGridView1 to datagridview2. And later save the changes. Please please help me..Only two days left to accomplish the project.
Thanks.
litlemaster
0
Light Poster
Recommended Answers
Jump to PostI'm confused : / If the datagridviews are bound to different tables, what are you trying to acheive by transposing rows?
Can you show the table structures? If your database is normalised correctly you should be storing data specific to the contact in the Contacts table. Why would you want …
Jump to PostOk, that clears up my confusion about moving a contact into the datagridview. But i think you are approaching this the wrong way. The datagridview should just show the data as it is in the database. You make changes to the underlying data, then repopulate the datagridview. So you dont …
All 7 Replies
Geekitygeek
480
Nearly a Posting Virtuoso
litlemaster
0
Light Poster
Geekitygeek
480
Nearly a Posting Virtuoso
litlemaster
0
Light Poster
Geekitygeek
480
Nearly a Posting Virtuoso
litlemaster
0
Light Poster
Geekitygeek
480
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.