Click here to Skip to main content
15,914,010 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: sqlserver function <<top>>??? Pin
leckey1-May-08 2:58
leckey1-May-08 2:58 
GeneralRe: sqlserver function <<top>>??? Pin
Blue_Boy1-May-08 3:30
Blue_Boy1-May-08 3:30 
QuestionHow can i set css in add attribute Pin
eyeseetee30-Apr-08 23:43
eyeseetee30-Apr-08 23:43 
AnswerRe: How can i set css in add attribute Pin
R. Giskard Reventlov30-Apr-08 23:54
R. Giskard Reventlov30-Apr-08 23:54 
QuestionHow digrams and flowchart created wit asp.net Pin
Ajeet mittal30-Apr-08 21:38
Ajeet mittal30-Apr-08 21:38 
AnswerRe: How digrams and flowchart created wit asp.net Pin
eyeseetee30-Apr-08 22:30
eyeseetee30-Apr-08 22:30 
AnswerRe: How digrams and flowchart created wit asp.net Pin
Christian Graus30-Apr-08 23:16
protectorChristian Graus30-Apr-08 23:16 
Questionpassing values from HTML to aspx forms Pin
Kartik Rathi30-Apr-08 21:36
Kartik Rathi30-Apr-08 21:36 
AnswerRe: passing values from HTML to aspx forms Pin
eyeseetee30-Apr-08 22:29
eyeseetee30-Apr-08 22:29 
GeneralRe: passing values from HTML to aspx forms Pin
Kartik Rathi30-Apr-08 22:56
Kartik Rathi30-Apr-08 22:56 
GeneralRe: passing values from HTML to aspx forms Pin
Christian Graus30-Apr-08 23:19
protectorChristian Graus30-Apr-08 23:19 
GeneralRe: passing values from HTML to aspx forms Pin
eyeseetee30-Apr-08 23:40
eyeseetee30-Apr-08 23:40 
Questionjava script for printing Pin
rajkumar.330-Apr-08 21:23
rajkumar.330-Apr-08 21:23 
AnswerRe: java script for printing Pin
Christian Graus30-Apr-08 23:18
protectorChristian Graus30-Apr-08 23:18 
Questiondistance Between two Location Pin
Krazy Programmer30-Apr-08 21:06
Krazy Programmer30-Apr-08 21:06 
AnswerRe: distance Between two Location Pin
Unknown Ajanabi30-Apr-08 21:21
Unknown Ajanabi30-Apr-08 21:21 
QuestionValidators gives error on remote server Pin
needhi_p30-Apr-08 19:30
needhi_p30-Apr-08 19:30 
AnswerRe: Validators gives error on remote server Pin
Unknown Ajanabi30-Apr-08 21:07
Unknown Ajanabi30-Apr-08 21:07 
AnswerRe: Validators gives error on remote server Pin
Ashish Sehajpal1-May-08 1:17
Ashish Sehajpal1-May-08 1:17 
QuestionIs connection string must be changed after deployment ??? Pin
kindman_nb30-Apr-08 19:01
kindman_nb30-Apr-08 19:01 
AnswerRe: Is connection string must be changed after deployment ??? Pin
Christian Graus30-Apr-08 19:13
protectorChristian Graus30-Apr-08 19:13 
GeneralRe: Is connection string must be changed after deployment ??? Pin
kindman_nb30-Apr-08 19:15
kindman_nb30-Apr-08 19:15 
AnswerRe: Is connection string must be changed after deployment ??? Pin
Ashish Sehajpal1-May-08 1:19
Ashish Sehajpal1-May-08 1:19 
AnswerRe: Is connection string must be changed after deployment ??? Pin
Tom Harper3-May-08 10:36
Tom Harper3-May-08 10:36 
I have a trick for this situation

I keep three connection strings in my web.config file. The first connection string is named app_name_local, the second is app_name_server and finally app_name_application. For example if you have an application Foo you would have Foo_local, Foo_server, and Foo_application.

I make all connections in the application to the app_name_application string. This makes it simple to manage. You never have to make a change to the connection string name anywhere in the application.

I also keep copies of the server string and the local string in the other connection strings. When I upload the web.config file to the server, the only change I need to make is to the application connection string by copying the string from the server cs to the application cs. This way, I can keep local data to code with and not affect real data on the server.

I hope this helps.

Tom
GeneralRe: Is connection string must be changed after deployment ??? Pin
kindman_nb4-May-08 21:08
kindman_nb4-May-08 21:08 

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.