Form Manipulation

B

BD

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
 
B

BD

ClayB said:
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/WindowsForms/FAQ_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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top