All source code in .Net Ask a .Net Pro Discussion Forum Categories All jobs in .Net
article,using,connection,code,working,populat
   Code/Articles � |  Newest/Best � |  Community � |  Jobs � |  Other � |  Goto � | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
.Net Stats

 Code: 671,220. lines
 Jobs: 822. postings

 How to support the site

 
Sponsored by:
Quick Search for:  in language:    
You are in:
 
Login





Latest postings for .Net.
Click here to see a screenshot of this code!WPF Clock - with stopwatch
By Timo Boehme on 3/11

(Screen Shot)

web hosting by .net
By p v sreeraj nambiar on 3/10


Click here to see a screenshot of this code!web hosting with well screenplay
By p v sreeraj nambiar on 3/9

(Screen Shot)

Click here to see a screenshot of this code!Media Player
By Maheshs Shitole on 3/9

(Screen Shot)

Click here to see a screenshot of this code!flexi grid
By maytel.mynt on 1/12

(Screen Shot)

CONNECTION!
By p v sreeraj nambiar on 3/8


working employeee details
By p v sreeraj nambiar on 3/8


MySQL Front
By C. David Hamilton on 12/6


Click here to see a screenshot of this code!Serial CommPort simple demo
By Timo Boehme on 2/26

(Screen Shot)

PPM and PGM Images Read Write
By BuzzMiester on 3/6


Click here to see a screenshot of this code!Picture Editor
By arifliminto86 on 3/5

(Screen Shot)

Click here to see a screenshot of this code!Accounting System for Loans and Collectibles
By Jonathan Bantang on 3/3

(Screen Shot)

Click here to see a screenshot of this code!TicTacToe
By Maheshs Shitole on 3/3

(Screen Shot)

Click here to see a screenshot of this code!Testimage gerator / Screen saver
By Timo Boehme on 3/2

(Screen Shot)

Composition
By Mark Griffeth on 2/28


Click here to see a screenshot of this code!iconWorks - Updated...
By Todd S. Spangler on 2/26

(Screen Shot)

CIDR Calc (Classless Inter-Domain Routing)
By luce2047 on 2/26


NFSU II SaveGame Money Editor
By silviu petre on 2/26


Extension Method in ASP.NET 3.5
By weblabs on 2/25


Click here to see a screenshot of this code!Dock To external program
By Kevin S. Gallagher on 2/25

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

Extracting Complex Data From DB using DataGridWiew

Print
Email
 
winzip icon
Submitted on: 2/9/2010 9:13:38 AM
By: Marijan Ivicevic - Bakulic  
Level: Advanced
User Rating: By 1 Users
Compatibility:VB.NET

Users have accessed this code 3242 times.
 
author picture
(About the author)
 
     For this article I using connection to NorthwindDataSet1.This code working on this way -populating DataGridView1 with data from DataSet, with double click (cell) event copying chosen row to DataGridView2 .Exicting solution is in your editing your wishing row with or without updating your database or sending row with little different data to DataGridView2. Extended capabilities are in removing row duplicates with using single check box choice which is not reflected in row index condition.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
10/18/2009 4:31:35 PMVBHelp

A DataGridView is a means of displaying data from an underlying datasource; in this case a dataset. There is no need to manually create DGV colums, records directly to the dgv. It is more efficient to work directly with the datasource itself and assign a new dataset/datatable or dataview to your second DGV control.


(If this comment was disrespectful, please report it.)

 
10/20/2009 2:50:20 PMMarijan Ivicevic - Bakulic

Second DataGridiView work directly with first DataGridiew, this is basic idea for developing this usefull part of code..
(If this comment was disrespectful, please report it.)

 
2/8/2010 12:10:43 AMEder Rafo

hi parce good but
presents the error the items 'RemoveDuplicats.vb' does no exist in the project directory, it may have been moved renamed or deleted...........i do???????
(If this comment was disrespectful, please report it.)

 
2/8/2010 3:52:46 PMMarijan Ivicevic - Bakulic

Hello Eder !

Rafo, erase this file error and will be excellent.
This exception exict because I not completly erase file.
It is small configuration modification.
Thanks to notification
(If this comment was disrespectful, please report it.)

 
2/9/2010 10:06:23 AMMarijan Ivicevic - Bakulic

No more little error, correction is done.

Thanks
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Games | Feedback | Customize | .Net Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright� 1997-2010 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.