Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Best way to link a grid view field to a details view using two separate windows forms

What would be the best way to link a grid view field to a details view using windows forms?
I am using c# and want to use two different windows forms.  

How can I click on a button or link on a row of a grid view and have it linked to a details view where I may edit the record?

I have read several articles, but I almost want to accomplish the same thing as a template field for s web page in .net.

I know I must pass the recordID over, but can someone please give me some direction?
0
devnewbee
Asked:
devnewbee
1 Solution
 
SDRsExpertCommented:
You could define a public property for the recordID in the details view form and set it before calling form.show().
0
 
devnewbeeAuthor Commented:
Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now