Click here to Skip to main content
15,905,874 members
Home / Discussions / Database
   

Database

 
Questionlength of time a Connection to Database exists? Pin
sharathkv1231-May-03 18:23
sharathkv1231-May-03 18:23 
AnswerRe: length of time a Connection to Database exists? Pin
1-May-03 19:36
suss1-May-03 19:36 
AnswerRe: length of time a Connection to Database exists? Pin
J. Dunlap1-May-03 20:16
J. Dunlap1-May-03 20:16 
Question"Copy Project" and SQL ??? Pin
gman441-May-03 13:04
gman441-May-03 13:04 
AnswerRe: "Copy Project" and SQL ??? Pin
Member 961-May-03 19:21
Member 961-May-03 19:21 
GeneralRe: "Copy Project" and SQL ??? Pin
J. Dunlap1-May-03 19:26
J. Dunlap1-May-03 19:26 
GeneralRe: "Copy Project" and SQL ??? Pin
gman442-May-03 12:24
gman442-May-03 12:24 
GeneralRe: "Copy Project" and SQL ??? Pin
Member 962-May-03 14:03
Member 962-May-03 14:03 
kvnsdr wrote:
You see, when I move a perfectly running asp.net web project to another server, the computer names are different. So I changed those to make sure the database connections are correct. However upon this attempt nothing works.

It's normal practice to put the connection string in an externally configurable place if it's production software or at least in only one place in your code if it's internal use for just this reason. Then you only need to update one place.

As you found out, when you use the drag and drop features it will happily make a new connection string over and over and over again.

I think that the drag and drop is an excellent way for a beginner to learn what is required to get the task accomplished, but then most would quickly move beyond that if they are programming more than a very simple application.



"Things are more like they are now than they ever were before."
-- Dwight Eisenhower
GeneralRe: "Copy Project" and SQL ??? Pin
J. Dunlap2-May-03 17:09
J. Dunlap2-May-03 17:09 
GeneralQuery Statement Pin
blindzebra1-May-03 8:30
blindzebra1-May-03 8:30 
GeneralRe: Query Statement Pin
Member 961-May-03 19:12
Member 961-May-03 19:12 
GeneralRe: Query Statement Pin
Richard Deeming2-May-03 2:50
mveRichard Deeming2-May-03 2:50 
GeneralConnection Pooling Pin
RedZenBird1-May-03 7:42
RedZenBird1-May-03 7:42 
GeneralSql transaction log format Pin
jspano1-May-03 7:07
jspano1-May-03 7:07 
GeneralChecking Query Progress Pin
perlmunger30-Apr-03 4:31
perlmunger30-Apr-03 4:31 
GeneralInstall packages for serversoftware. Pin
Jonas Follesø30-Apr-03 1:35
Jonas Follesø30-Apr-03 1:35 
GeneralRe: Install packages for serversoftware. Pin
Rein Hillmann1-May-03 5:58
Rein Hillmann1-May-03 5:58 
QuestionCan execute() return both recordset and output parameters Pin
TianYang29-Apr-03 22:34
TianYang29-Apr-03 22:34 
AnswerRe: Can execute() return both recordset and output parameters Pin
andyharman30-Apr-03 12:19
professionalandyharman30-Apr-03 12:19 
GeneralCustom view for a datafield Pin
ssnkh29-Apr-03 20:14
ssnkh29-Apr-03 20:14 
GeneralSQLJ with JTree Plz HELP Pin
sharathkv12329-Apr-03 17:02
sharathkv12329-Apr-03 17:02 
GeneralGet parameter that generated by Refresh() Pin
TianYang28-Apr-03 22:21
TianYang28-Apr-03 22:21 
GeneralRead Only Transactions Pin
Patje28-Apr-03 22:08
Patje28-Apr-03 22:08 
GeneralRe: Read Only Transactions Pin
Rein Hillmann1-May-03 19:42
Rein Hillmann1-May-03 19:42 
GeneralRe: Read Only Transactions Pin
Patje4-May-03 20:43
Patje4-May-03 20:43 

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.