Solved

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

Posted on 2009-04-08
2
220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
SDRsExpert earned 500 total points
ID: 24099657
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
ID: 31568066
Thanks!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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