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
http://img816.imageshack.us/img816/6030/newpicture3.png
- 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
http://img444.imageshack.us/img444/2...wpicture4v.png
Browse Customer Form
http://img148.imageshack.us/img148/9...wpicture5d.png
Kindly guide me in solving my problem. Thanks.
Re: Passing Selected Row in DataGridView
Quote:
I'm having problems
What problems are you facing with?
What have to tried till now?
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.
Re: Passing Selected Row in DataGridView
You can create custom properties of a form to be anything you like. Then set those properties.