Click here to Skip to main content
11,717,509 members (80,373 online)
   

C#

 
AnswerRe: want to allow the user to enter ' but shows error Pin
Blue_Boy3-Jun-09 21:26
memberBlue_Boy3-Jun-09 21:26 
GeneralRe: want to allow the user to enter ' but shows error Pin
Guffa3-Jun-09 21:55
mvpGuffa3-Jun-09 21:55 
GeneralRe: want to allow the user to enter ' but shows error Pin
Blue_Boy5-Jun-09 1:33
memberBlue_Boy5-Jun-09 1:33 
AnswerRe: want to allow the user to enter ' but shows error Pin
Guffa3-Jun-09 21:52
mvpGuffa3-Jun-09 21:52 
Your application is wide open for SQL injection attacks.

Please instruct your users not to enter this in the text field:
','','',8);drop table Users;--
Alternatively, you can correct the code. Use parameterised queries instead of concatenating the data into the query.

Despite everything, the person most likely to be fooling you next is yourself.

AnswerRe: want to allow the user to enter ' but shows error Pin
musefan3-Jun-09 21:56
membermusefan3-Jun-09 21:56 
QuestionAdvanced ToolTip. Pin
bsaksida3-Jun-09 20:40
memberbsaksida3-Jun-09 20:40 
AnswerRe: Advanced ToolTip. Pin
Computafreak3-Jun-09 21:42
memberComputafreak3-Jun-09 21:42 
QuestionError in Page.RegisterClientScriptBlock Pin
patelmurtuza3-Jun-09 20:39
memberpatelmurtuza3-Jun-09 20:39 
QuestionProblem in UnInstalling a BHO setup? Pin
svt gdwl3-Jun-09 20:24
membersvt gdwl3-Jun-09 20:24 
QuestionDatagridview delete problem Pin
half-life3-Jun-09 20:03
memberhalf-life3-Jun-09 20:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 3 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid