Click here to Skip to main content
15,908,013 members
Home / Discussions / Database
   

Database

 
AnswerRe: problem with database access Pin
Colin Angus Mackay9-Feb-07 23:39
Colin Angus Mackay9-Feb-07 23:39 
sreecahitu wrote:
Invalid token '(' in class, struct, or interface member declaration


I don't know why that error occurs. There is not enough information given.

However, I can point out other problems with the code.
1. The connection string is empty (although I'm guessing you removed it for security)
2. You never open the connection.
3. You read from the database but you never check if anything exists, and if it does exist you never actually get the data.


QuestionHow to update column values automatically Pin
Ravi Ahuja9-Feb-07 6:25
Ravi Ahuja9-Feb-07 6:25 
AnswerRe: How to update column values automatically Pin
Colin Angus Mackay9-Feb-07 23:34
Colin Angus Mackay9-Feb-07 23:34 
GeneralRe: How to update column values automatically Pin
Ravi Ahuja10-Feb-07 8:55
Ravi Ahuja10-Feb-07 8:55 
GeneralRe: How to update column values automatically Pin
Colin Angus Mackay10-Feb-07 10:00
Colin Angus Mackay10-Feb-07 10:00 
QuestionQuestion on VC++ and SQL Pin
ensger9-Feb-07 5:44
ensger9-Feb-07 5:44 
AnswerRe: Question on VC++ and SQL Pin
Hamid_RT9-Feb-07 6:27
Hamid_RT9-Feb-07 6:27 
GeneralRe: Question on VC++ and SQL Pin
ensger9-Feb-07 10:53
ensger9-Feb-07 10:53 
GeneralRe: Question on VC++ and SQL Pin
Hamid_RT10-Feb-07 1:21
Hamid_RT10-Feb-07 1:21 
GeneralRe: Question on VC++ and SQL Pin
ensger12-Feb-07 3:36
ensger12-Feb-07 3:36 
GeneralRe: Question on VC++ and SQL Pin
Hamid_RT12-Feb-07 6:42
Hamid_RT12-Feb-07 6:42 
AnswerRe: Question on VC++ and SQL Pin
John M. Drescher9-Feb-07 10:38
John M. Drescher9-Feb-07 10:38 
GeneralRe: Question on VC++ and SQL Pin
ensger9-Feb-07 10:51
ensger9-Feb-07 10:51 
GeneralRe: Question on VC++ and SQL Pin
S Douglas11-Feb-07 20:32
professionalS Douglas11-Feb-07 20:32 
GeneralRe: Question on VC++ and SQL Pin
ensger12-Feb-07 3:48
ensger12-Feb-07 3:48 
GeneralRe: Question on VC++ and SQL Pin
John M. Drescher13-Feb-07 4:03
John M. Drescher13-Feb-07 4:03 
QuestionIs John M. Drscher here Pin
ensger9-Feb-07 5:38
ensger9-Feb-07 5:38 
AnswerRe: Is John M. Drscher here Pin
John M. Drescher9-Feb-07 10:44
John M. Drescher9-Feb-07 10:44 
GeneralRe: Is John M. Drscher here Pin
ensger9-Feb-07 13:10
ensger9-Feb-07 13:10 
QuestionCheck if Database exists Pin
Aaron VanWieren9-Feb-07 4:08
Aaron VanWieren9-Feb-07 4:08 
AnswerRe: Check if Database exists Pin
Colin Angus Mackay9-Feb-07 4:28
Colin Angus Mackay9-Feb-07 4:28 
GeneralRe: Check if Database exists Pin
Aaron VanWieren9-Feb-07 5:07
Aaron VanWieren9-Feb-07 5:07 
AnswerRe: Check if Database exists Pin
Blue_Boy9-Feb-07 4:38
Blue_Boy9-Feb-07 4:38 
GeneralRe: Check if Database exists Pin
Colin Angus Mackay9-Feb-07 4:50
Colin Angus Mackay9-Feb-07 4:50 
GeneralRe: Check if Database exists Pin
Aaron VanWieren9-Feb-07 5:04
Aaron VanWieren9-Feb-07 5:04 

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.