• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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