Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2007

Tip: Looking for answers? Try searching our database.

Form Manipulation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BD - 08 Jan 2007 21:42 GMT
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
ClayB - 09 Jan 2007 11:12 GMT
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.
BD - 09 Jan 2007 14:20 GMT
> George Shepherd's Windows Forms FAQ contains an entry entitled:
>
[quoted text clipped - 6 lines]
> 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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.