I am using VS 2008 with sql server 2008
I wish to write a small test app to try out my new found skills but have hit a brick wall.
I do not wish to use the binding adapters et al (so called VCR controls) but wish to utilise my ADO.net skills thru code.
My 'brick wall' is in the connection. Do I connect to the DB in startup (behind my flash screen) and then leave the connection open until the App closes OR do I connect to the DB on entry to each form and close on exit?
I am hoping this is a really easy question to answer as I am bamboozled by the amount of info out there.
I should point out that I have converted from Access 2007 and that is where my knowledge lies.
Many thanks for your help ...
Jon
I wish to write a small test app to try out my new found skills but have hit a brick wall.
I do not wish to use the binding adapters et al (so called VCR controls) but wish to utilise my ADO.net skills thru code.
My 'brick wall' is in the connection. Do I connect to the DB in startup (behind my flash screen) and then leave the connection open until the App closes OR do I connect to the DB on entry to each form and close on exit?
I am hoping this is a really easy question to answer as I am bamboozled by the amount of info out there.
I should point out that I have converted from Access 2007 and that is where my knowledge lies.
Many thanks for your help ...
Jon