- Mar 23, 2001
- 2,896
- 2
- 81
I have a Windows Application written in C# with Visual Studio 2010. (I'm relatively new to this, I have been using mostly HTML/PHP for the past few years)
On one form I have a datagridview that displays basic fields (ID, name, request type, submission date) from a larger table.
What I am trying to do is allow the user to double click a row and have a request processing form come up so they can work the request.
The form with the datagridvew works properly, but I'm not sure how to setup the second (detail) form. So far all efforts have failed and Google keeps confusing me.
I have the doubleclick event setup and can get the data from the selected row necessary to display the proper data on the detail form, and even figured out how to pass that value to the new form, but I can't figure out how to build/setup/etc the detail form to get it to display the selected record.
Does anyone have any insight?
Also, if anyone has a good book for helping learn Visual Studio / C# / etc. let me know.
Thanks in advance.
Edit: I am now checking out the links in the reference thread.
On one form I have a datagridview that displays basic fields (ID, name, request type, submission date) from a larger table.
What I am trying to do is allow the user to double click a row and have a request processing form come up so they can work the request.
The form with the datagridvew works properly, but I'm not sure how to setup the second (detail) form. So far all efforts have failed and Google keeps confusing me.
I have the doubleclick event setup and can get the data from the selected row necessary to display the proper data on the detail form, and even figured out how to pass that value to the new form, but I can't figure out how to build/setup/etc the detail form to get it to display the selected record.
Does anyone have any insight?
Also, if anyone has a good book for helping learn Visual Studio / C# / etc. let me know.
Thanks in advance.
Edit: I am now checking out the links in the reference thread.
Last edited:
