Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Restore failed for Server '...\SQLEXPRESS' Pin
Pradeep Shukla8-Sep-11 7:42
professionalPradeep Shukla8-Sep-11 7:42 
GeneralRe: Restore failed for Server '...\SQLEXPRESS' Pin
C#Coudou8-Sep-11 13:45
C#Coudou8-Sep-11 13:45 
AnswerRe: Restore failed for Server '...\SQLEXPRESS' Pin
Eddy Vluggen8-Sep-11 9:59
professionalEddy Vluggen8-Sep-11 9:59 
GeneralRe: Restore failed for Server '...\SQLEXPRESS' Pin
C#Coudou8-Sep-11 14:12
C#Coudou8-Sep-11 14:12 
QuestionPut red Rectangle arround control [modified] Pin
Sam Martini7-Sep-11 0:16
Sam Martini7-Sep-11 0:16 
GeneralRe: Put red Rectangle arround control Pin
MicroVirus7-Sep-11 0:51
MicroVirus7-Sep-11 0:51 
GeneralRe: Put red Rectangle arround control Pin
Sam Martini7-Sep-11 5:50
Sam Martini7-Sep-11 5:50 
Questiona situation with connection string Pin
alejx6-Sep-11 13:17
alejx6-Sep-11 13:17 
I have to make a program in Visual Basic .NET 2010 to manage a database in sql server. During the making process , i work with my database model :
Data Source=server1\SQLEXPRESS;Initial Catalog=udata1;Integrated Security=SSPI;

I create the entity framework model with this database through wizard process ( local database on my PC) and after i create the application connected with this database.The application work OK.

But i want to use this application with several databases on our network , and i want to make my final version of the program independent from database connection. So i want to put all the information for connecting with database on a text file .And when the application is starting should read the information from text file , create the connection and after do his normal operation. If something change , i want only to change the text file without touching the application. All the databases that i want to manage are identical with my first model that i use for creating application.

Maybe , this is not the right way , but i want to do. Can someone help me with this , or is impossible to do ?

Thank you !
AnswerRe: a situation with connection string Pin
Pradeep Shukla6-Sep-11 19:32
professionalPradeep Shukla6-Sep-11 19:32 
GeneralRe: a situation with connection string Pin
alejx7-Sep-11 2:07
alejx7-Sep-11 2:07 
GeneralRe: a situation with connection string Pin
Pradeep Shukla7-Sep-11 3:37
professionalPradeep Shukla7-Sep-11 3:37 
GeneralRe: a situation with connection string Pin
alejx7-Sep-11 4:34
alejx7-Sep-11 4:34 
GeneralRe: a situation with connection string Pin
Pradeep Shukla7-Sep-11 4:41
professionalPradeep Shukla7-Sep-11 4:41 
GeneralRe: a situation with connection string Pin
alejx7-Sep-11 5:11
alejx7-Sep-11 5:11 
GeneralRe: a situation with connection string [modified] Pin
Pradeep Shukla7-Sep-11 8:36
professionalPradeep Shukla7-Sep-11 8:36 
GeneralRe: a situation with connection string Pin
alejx7-Sep-11 12:59
alejx7-Sep-11 12:59 
GeneralRe: a situation with connection string Pin
Pradeep Shukla7-Sep-11 13:03
professionalPradeep Shukla7-Sep-11 13:03 
AnswerRe: a situation with connection string Pin
Simon_Whale6-Sep-11 22:15
Simon_Whale6-Sep-11 22:15 
Questionmsdn Pin
Shahab Mohammadi4-Sep-11 22:42
Shahab Mohammadi4-Sep-11 22:42 
AnswerRe: msdn PinPopular
Dalek Dave4-Sep-11 22:52
professionalDalek Dave4-Sep-11 22:52 
GeneralRe: msdn Pin
Clark Kent12312-Sep-11 9:13
professionalClark Kent12312-Sep-11 9:13 
GeneralRe: msdn Pin
Dave Kreskowiak12-Sep-11 9:26
mveDave Kreskowiak12-Sep-11 9:26 
GeneralRe: msdn Pin
Clark Kent12313-Sep-11 1:22
professionalClark Kent12313-Sep-11 1:22 
AnswerRe: msdn Pin
DaveAuld5-Sep-11 2:04
professionalDaveAuld5-Sep-11 2:04 
GeneralRe: msdn Pin
Nagy Vilmos5-Sep-11 22:20
professionalNagy Vilmos5-Sep-11 22:20 

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.