Click here to Skip to main content
15,894,896 members
Home / Discussions / Database
   

Database

 
GeneralRe: Restore a database Pin
bigtone7820-Dec-04 10:09
bigtone7820-Dec-04 10:09 
GeneralRe: Restore a database Pin
Rob Graham24-Dec-04 6:00
Rob Graham24-Dec-04 6:00 
Generalsql transaction Pin
sianatia20-Dec-04 8:20
sianatia20-Dec-04 8:20 
GeneralRe: sql transaction Pin
Colin Angus Mackay20-Dec-04 8:35
Colin Angus Mackay20-Dec-04 8:35 
GeneralSingle connection in several forms Pin
hammerj18-Dec-04 23:58
susshammerj18-Dec-04 23:58 
GeneralRe: Single connection in several forms Pin
Colin Angus Mackay19-Dec-04 2:13
Colin Angus Mackay19-Dec-04 2:13 
GeneralRe: Single connection in several forms Pin
j1hammer19-Dec-04 2:34
j1hammer19-Dec-04 2:34 
GeneralRe: Single connection in several forms Pin
Colin Angus Mackay19-Dec-04 2:38
Colin Angus Mackay19-Dec-04 2:38 
If you are thinking conceptually, then the Visual Studio designer is probably the last thing you want to use.

I think your best approach is to create a class that manages the connection and have your forms use that class. Also, it would probably be a bad idea to have one form set the connection and have the other forms use it from the first form as the connection has nothing to do with the user interface and the data management functions should really be separated out into its own conceptual layer/tier within the application.


Do you want to know more?
WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums


GeneralRe: Single connection in several forms Pin
j1hammer19-Dec-04 23:34
j1hammer19-Dec-04 23:34 
GeneralLogin Failed : user ASPNET (MSDE) Pin
asif m@hmood18-Dec-04 7:28
asif m@hmood18-Dec-04 7:28 
GeneralRe: Login Failed : user ASPNET (MSDE) Pin
Mike Dimmick18-Dec-04 8:38
Mike Dimmick18-Dec-04 8:38 
GeneralLibraries Pin
abo el ror18-Dec-04 3:32
abo el ror18-Dec-04 3:32 
GeneralMSDE US Date format problem Pin
hugonz17-Dec-04 23:40
hugonz17-Dec-04 23:40 
GeneralRe: MSDE US Date format problem Pin
Mike Dimmick18-Dec-04 9:04
Mike Dimmick18-Dec-04 9:04 
GeneralRe: MSDE US Date format problem Pin
hugonz18-Dec-04 11:19
hugonz18-Dec-04 11:19 
GeneralRe: MSDE US Date format problem Pin
Jon Hulatt19-Dec-04 22:51
Jon Hulatt19-Dec-04 22:51 
GeneralRe: MSDE US Date format problem Pin
hugonz21-Dec-04 18:36
hugonz21-Dec-04 18:36 
GeneralInstalling Database Pin
abo el ror17-Dec-04 14:29
abo el ror17-Dec-04 14:29 
GeneralRe: Installing Database Pin
Colin Angus Mackay17-Dec-04 15:28
Colin Angus Mackay17-Dec-04 15:28 
GeneralRe: Installing Database Pin
Javier Lozano17-Dec-04 17:58
Javier Lozano17-Dec-04 17:58 
GeneralMore on CRecordset Instances Pin
Chris Meech17-Dec-04 8:22
Chris Meech17-Dec-04 8:22 
GeneralRe: More on CRecordset Instances Pin
Mike Dimmick17-Dec-04 12:33
Mike Dimmick17-Dec-04 12:33 
GeneralRe: More on CRecordset Instances Pin
Chris Meech21-Dec-04 2:00
Chris Meech21-Dec-04 2:00 
GeneralRe: More on CRecordset Instances Pin
Chris Meech21-Dec-04 4:32
Chris Meech21-Dec-04 4:32 
GeneralRe: Category Pin
Brendan Vogt17-Dec-04 2:45
Brendan Vogt17-Dec-04 2:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.