Hi
I used the "linq to sql" to connect to the server
and retrieve some data ,

but i have one problem that , when i used this program in client System in the network , and the database
is in server , i can't connect it.

I know that i must change the "conncetin string" to do this , and i know the" linq to sql
" class was saved the "connection string" ,that use to connect to the server into (App.confiq & Properties.Setting)

I dont know which one of them , i must be change (App.config or Properties.Setting )
and how ?
I forgat that say , I Useed the C# to write this App.
hamzeh dokooPosted Jul 23, 2010, 4:19 PM
if yes , what s your opinion ? what's your solution ?
its my aim :
" if the program must be stay on the client System , the next time that program run , the correct connection string being load . "
Thx
Sam HobbsPosted Jul 23, 2010, 4:11 PM
I am trying to say that you can't do both; change it permanently and also change it during execution.
hamzeh dokooPosted Jul 23, 2010, 4:07 PM
I want that during the execution , change it permanently :D.
i want to , if the program must be stay on the client System , the next time that program run , the correct connection string being load .
Sam HobbsPosted Jul 23, 2010, 3:54 PM