Results 1 to 4 of 4

Thread: Passing Selected Row in DataGridView

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2010
    Posts
    66

    Passing Selected Row in DataGridView

    Good day guys. I need your help again. Im currently creating a point of sales system, I'm having problems in passing selected row in datagridview to another datagridview & text box but in different form.

    POS Form

    - Selected Row in Product Browse Form must be passed in this DataGridView.
    - Selcted Row in Customer Browse Form must be passed in CustomerName and Customer Address Textbox.

    Browse Product Form


    Browse Customer Form


    Kindly guide me in solving my problem. Thanks.

  2. #2
    Frenzied Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,158

    Re: Passing Selected Row in DataGridView

    I'm having problems
    What problems are you facing with?
    What have to tried till now?

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

    Re: Passing Selected Row in DataGridView

    Follow the CodeBank link in my signature and check out my thread on Editing A Grid Row In A Dialogue. It might not be exactly what you need but the principle should be the same.
    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

  4. #4
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Passing Selected Row in DataGridView

    You can create custom properties of a form to be anything you like. Then set those properties.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

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