View Single Post
  #1 (permalink)  
Old March 24th, 2011, 10:13 AM
ssaappaji ssaappaji is offline
Registered User
 
Join Date: Mar 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default change the connection string at run time through code

Unable to change the connection string to database MS SQL 3.5 compact edition at run time through code

I want to give the user the option of selecting the different years, by selecting the different database .sdf file at different locations in same drive

click button1 - code for database file at location 1
click button2 -code for database file at location 2


Please help me