Click here to Skip to main content
15,901,283 members
Home / Discussions / Database
   

Database

 
AnswerRe: Line line is a select statement. Pin
Ingo26-Sep-12 23:04
Ingo26-Sep-12 23:04 
QuestionAttendance and leave of employees Pin
Amr Muhammed25-Sep-12 13:06
Amr Muhammed25-Sep-12 13:06 
AnswerRe: Attendance and leave of employees Pin
Ingo25-Sep-12 20:50
Ingo25-Sep-12 20:50 
GeneralRe: Attendance and leave of employees Pin
Andrei Straut25-Sep-12 21:03
Andrei Straut25-Sep-12 21:03 
GeneralRe: Attendance and leave of employees Pin
Ingo25-Sep-12 21:19
Ingo25-Sep-12 21:19 
GeneralRe: Attendance and leave of employees Pin
Andrei Straut25-Sep-12 21:20
Andrei Straut25-Sep-12 21:20 
QuestionConvert datetime to certain format Pin
vanikanc25-Sep-12 9:09
vanikanc25-Sep-12 9:09 
AnswerRe: Convert datetime to certain format Pin
Ingo25-Sep-12 20:58
Ingo25-Sep-12 20:58 
QuestionSql server topics and materials Pin
Azizullahazizi24-Sep-12 18:32
Azizullahazizi24-Sep-12 18:32 
AnswerRe: Sql server topics and materials Pin
Andrei Straut24-Sep-12 20:12
Andrei Straut24-Sep-12 20:12 
AnswerRe: Sql server topics and materials Pin
Sandeep Mewara24-Sep-12 20:23
mveSandeep Mewara24-Sep-12 20:23 
QuestionSQL Search within a table Pin
veon cheng24-Sep-12 9:31
veon cheng24-Sep-12 9:31 
AnswerRe: SQL Search within a table Pin
Corporal Agarn25-Sep-12 1:08
professionalCorporal Agarn25-Sep-12 1:08 
GeneralRe: SQL Search within a table Pin
veon cheng25-Sep-12 3:37
veon cheng25-Sep-12 3:37 
AnswerRe: SQL Search within a table Pin
Ingo25-Sep-12 4:13
Ingo25-Sep-12 4:13 
QuestionCONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
r_mohd22-Sep-12 22:38
r_mohd22-Sep-12 22:38 
AnswerRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
Eddy Vluggen23-Sep-12 2:38
professionalEddy Vluggen23-Sep-12 2:38 
AnswerRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
jschell23-Sep-12 8:10
jschell23-Sep-12 8:10 
r_mohd wrote:
I am trying to connect db file from a pen drive.


That needs more explanation.

You have at least the following parts
1. MS SQL Server
2. The location of the MS SQL Server files.
3. The Visual Studio application.

Is the above list a COMPLETE list of everything that you are attempting to run?
From the above list what EXACTLY is on the pen drive?
From the above list what EXACTLY is NOT on the pen drive?


r_mohd wrote:
i have deleted mssqlexpress folder form the location:


As stated that is just flat out wrong. You can't just delete that directory.

If SQL Server can't see the database then nothing you do in Visual Studio is going to fix that.

r_mohd wrote:
Connection string: " Data Source='" & (SqlServerName) & "';AttachDbFilename=" & driveName & "dbfolder\dbname2.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"


Certainly looks like a back slash is missing to me.
GeneralRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
r_mohd24-Sep-12 2:28
r_mohd24-Sep-12 2:28 
GeneralRe: CONNECTING MSSQL DB FILE FROM PEN DRIVE Pin
jschell24-Sep-12 12:37
jschell24-Sep-12 12:37 
QuestionDb over internet Pin
leone22-Sep-12 8:56
leone22-Sep-12 8:56 
AnswerRe: Db over internet Pin
Eddy Vluggen23-Sep-12 0:42
professionalEddy Vluggen23-Sep-12 0:42 
AnswerRe: Db over internet Pin
jschell23-Sep-12 8:16
jschell23-Sep-12 8:16 
GeneralRe: Db over internet Pin
leone24-Sep-12 0:45
leone24-Sep-12 0:45 
GeneralRe: Db over internet Pin
Jörgen Andersson24-Sep-12 2:05
professionalJörgen Andersson24-Sep-12 2:05 

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.