Visual Basic Database Question

Posted on 2011-10-13
Last Modified: 2012-05-12
I have 3 databases that are completed, they each hold data. I currently have an excel sheet thats contents are imported into a ListView. What I would like to know how to do is to, check the values of the ListView vs the DataGridView the database is loaded into. The database is setup with a dataset, and local connection. Hope I have explained this correctly... Need help with code for the comparing. If it finds a match the info will be passed to another empty listview with 5 colums.

Question by:Jack_Jones
    LVL 83

    Accepted Solution

    Why two questions?

    As I said, loop through the listview items, use the datatable.defaultview.rowfilter to find if the item exists in grid, and add it to another listview if it does not.
    LVL 1

    Author Comment

    Was a very long day, i didn't even catch that. Thanks CodeCruiser.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    This video discusses moving either the default database or any database to a new volume.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now