Click here to Skip to main content
15,844,156 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inheritance from compiler point of view Pin
Steen Krogsgaard31-May-06 4:03
Steen Krogsgaard31-May-06 4:03 
QuestionProblems again- Newbie Pin
antonaras31-May-06 1:27
antonaras31-May-06 1:27 
AnswerRe: Problems again- Newbie Pin
Nibu babu thomas31-May-06 1:35
Nibu babu thomas31-May-06 1:35 
GeneralRe: Problems again- Newbie Pin
antonaras31-May-06 2:17
antonaras31-May-06 2:17 
GeneralRe: Problems again- Newbie Pin
Nibu babu thomas31-May-06 2:29
Nibu babu thomas31-May-06 2:29 
GeneralRe: Problems again- Newbie Pin
antonaras31-May-06 2:20
antonaras31-May-06 2:20 
GeneralRe: Problems again- Newbie Pin
ThatsAlok31-May-06 3:31
ThatsAlok31-May-06 3:31 
AnswerRe: Problems again- Newbie Pin
Steve S31-May-06 1:45
Steve S31-May-06 1:45 
What you really need is a parameterised query. The idea is that you create a parameter, and associate it with the command object.

You can then fill in the value, and run the command. Check out the documentation for CreateParameter.

This is preferred to concatenating the text because it avoids problems with strings containing quotes, and the so-called SQL injection attacks.



Steve S
Developer for hire
GeneralRe: Problems again- Newbie Pin
antonaras31-May-06 2:21
antonaras31-May-06 2:21 
AnswerRe: Problems again- Newbie Pin
Steve S31-May-06 5:15
Steve S31-May-06 5:15 
AnswerRe: Problems again- Newbie Pin
BadKarma31-May-06 2:37
BadKarma31-May-06 2:37 
GeneralRe: Problems again- Newbie Pin
antonaras31-May-06 2:43
antonaras31-May-06 2:43 
AnswerRe: Problems again- Newbie Pin
Hamid_RT31-May-06 2:56
Hamid_RT31-May-06 2:56 
QuestionFindNextPrinterChangeNotification - Invalid Handle Pin
P Gibson31-May-06 1:20
P Gibson31-May-06 1:20 
AnswerRe: FindNextPrinterChangeNotification - Invalid Handle Pin
NiceNaidu31-May-06 1:57
NiceNaidu31-May-06 1:57 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
NiceNaidu31-May-06 2:05
NiceNaidu31-May-06 2:05 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
P Gibson31-May-06 2:19
P Gibson31-May-06 2:19 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
NiceNaidu31-May-06 2:36
NiceNaidu31-May-06 2:36 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
P Gibson31-May-06 3:35
P Gibson31-May-06 3:35 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
Member 45238505-Apr-09 17:05
Member 45238505-Apr-09 17:05 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
pgibson0077006-Apr-09 1:55
pgibson0077006-Apr-09 1:55 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
Member 45238507-Apr-09 3:17
Member 45238507-Apr-09 3:17 
GeneralRe: FindNextPrinterChangeNotification - Invalid Handle Pin
honohsu14-Apr-09 16:24
honohsu14-Apr-09 16:24 
QuestionRe: FindNextPrinterChangeNotification - Invalid Handle Pin
David Crow31-May-06 6:25
David Crow31-May-06 6:25 
AnswerRe: FindNextPrinterChangeNotification - Invalid Handle Pin
pgibson00770031-May-06 10:08
pgibson00770031-May-06 10: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.