PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Form Manipulation

Reply

Form Manipulation

 
Thread Tools Rate Thread
Old 08-01-2007, 09:42 PM   #1
BD
Guest
 
Posts: n/a
Default Form Manipulation


I have a form that shows a datagrid view listing of workorders linked
to customers by ID number. I want to Double-Click a row in this
datagrid view to open form "Work Order" to a specific record related by

'workorderID'. I know how to do it, but I don't know how to code it
for C#. Any help is greatly appreciated.

BD

  Reply With Quote
Old 09-01-2007, 11:12 AM   #2
ClayB
Guest
 
Posts: n/a
Default Re: Form Manipulation


George Shepherd's Windows Forms FAQ contains an entry entitled:

How do I catch a doubleclick in my datagrid?

Check it out at:
http://www.syncfusion.com/FAQ/Windo...c44c.aspx#q869q

=============
Clay Burch
Syncfusion, Inc.

  Reply With Quote
Old 09-01-2007, 02:20 PM   #3
BD
Guest
 
Posts: n/a
Default Re: Form Manipulation


ClayB wrote:
> George Shepherd's Windows Forms FAQ contains an entry entitled:
>
> How do I catch a doubleclick in my datagrid?
>
> Check it out at:
> http://www.syncfusion.com/FAQ/Windo...c44c.aspx#q869q
>
> =============
> Clay Burch
> Syncfusion, Inc.


Read the article and it helps, but my overall problem is coding the
filter to open form. In VBA I simply opened form on record that
matched the ID field in event handler, such as:

docmd.OpenForm "formname", , , "ID= " & me.datasheet.column(0)

Have been unable to code this operation in C#. These are 2 seperate
child forms with the same parent form using different datasets. Have
thought about joining datasets or modifing existing to create a link,
but creates additional overhead when opening forms. Filtering of some
sort should do this.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off