database question
-
hi im using MS access database to keep my data and using visual studio .net 2003 to design forms... i want to know how to retrieve data from access to my forms in visual studio .net.. what codes must i write in visual studio .net or must i use some access wizard to do what i want? thanks!
-
hi im using MS access database to keep my data and using visual studio .net 2003 to design forms... i want to know how to retrieve data from access to my forms in visual studio .net.. what codes must i write in visual studio .net or must i use some access wizard to do what i want? thanks!
see System.Data.Oledb Namespace[^] Absolute faith corrupts as absolutely as absolute power Eric Hoffer All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke
-
see System.Data.Oledb Namespace[^] Absolute faith corrupts as absolutely as absolute power Eric Hoffer All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke
-
ok, now i want to check with you> where do i write my codes to connect to my database from within my app? do i write the codes in a new form or the form i've been using all along to create my app? thanks!
nidhelp wrote: ok, now i want to check with you> where do i write my codes to connect to my database from within my app? do i write the codes in a new form or the form i've been using all along to create my app? if you have to get many data when you start your appliactio use splash screen to connect and get the data and when the you got the data show the form that deal with data But general rule try to separate the code that access and manipulate the database and put it in dll and call it from your win forms MCAD
-
ok, now i want to check with you> where do i write my codes to connect to my database from within my app? do i write the codes in a new form or the form i've been using all along to create my app? thanks!
Its more of a preference for the programmer but security-wise and readability i agree it has to be put in a different form. I usualy do my queries in a different form, pass it to another dll for sorting, editing, etc then finally pass it to my win app or web app. Hope that helps! Kampai!!!