Solved

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

Posted on 2009-04-08
2
212 Views
Last Modified: 2013-12-17
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
Comment
Question by:devnewbee
2 Comments
 
LVL 1

Accepted Solution

by:
SDRsExpert earned 500 total points
Comment Utility
You could define a public property for the recordID in the details view form and set it before calling form.show().
0
 

Author Closing Comment

by:devnewbee
Comment Utility
Thanks!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now