PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET
a where to question
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET
a where to question
![]() |
a where to question |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
This is a very general question.
I have a form. On this form I have many controls and several tab pages. To complete this form I will need to make a couple of calls to a database, and I have several subs that set values based on input of controls on the form. Do I put all of my subs/functions that reference or set form controls on the form itself? Is there a way to set a form control from another module or something. The form code is >1200 lines now. I come from an .asp world and it seems big and unmanageable now and it's going to get bigger. How do you pros do it? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Koda,
It will not make it easier, however probably better to manage. Set your data access in a component (a seperate class however everything is already in it and with a component you can drag and drop). Create as many as is possible usercontrols (I mean limited not as many as is technical possible) That is much easier than on ASP http://msdn.microsoft.com/library/d...lclasstopic.asp http://msdn.microsoft.com/library/d...ewfccontrol.asp I hope this helps, Cor |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

