Results 1 to 3 of 3

Thread: Datagridview click with sql result

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2007
    Posts
    99

    Datagridview click with sql result

    Hello,

    Im using mysqlconnector which allows me to display a sql result from my database. I'd like to click on a result row and that result appear in a new form.

    A) is it possible

    B) any pointers?

    Thanks

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Datagridview click with sql result

    Yes, it's possible. And it's just a matter of passing data between forms. There are several methods to do this. If you search the forum for some term like "passing data between forms", I'm sure you will find the answer. This question has been answered numerous times, there's no need for me to repeat the answers
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Datagridview click with sql result

    Follow the "Update Grid Row in Dialogue" link in my signature.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width