Click here to Skip to main content
15,885,141 members
Home / Discussions / C#
   

C#

 
GeneralRe: help Pin
0x3c03-Jun-09 22:01
0x3c03-Jun-09 22:01 
GeneralRe: help Pin
musefan3-Jun-09 22:04
musefan3-Jun-09 22:04 
GeneralRe: help Pin
Rajdeep.NET3-Jun-09 22:31
Rajdeep.NET3-Jun-09 22:31 
GeneralRe: help Pin
musefan3-Jun-09 22:35
musefan3-Jun-09 22:35 
GeneralRe: help Pin
0x3c03-Jun-09 22:35
0x3c03-Jun-09 22:35 
Questionwant to allow the user to enter ' but shows error Pin
Mehul_qaz3-Jun-09 21:15
Mehul_qaz3-Jun-09 21:15 
AnswerRe: want to allow the user to enter ' but shows error Pin
Blue_Boy3-Jun-09 21:26
Blue_Boy3-Jun-09 21:26 
GeneralRe: want to allow the user to enter ' but shows error Pin
Guffa3-Jun-09 21:55
Guffa3-Jun-09 21:55 
Note: That is the correct way to escape a string for some specific databases, like MS SQL Server and MS Access. For other databases you need to do it differently.

It's important to use the correct escaping method for the specific database, otherwise the code is still wide open for SQL injections.

If you use a parameterised query instead, there is no need for escaping.

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

GeneralRe: want to allow the user to enter ' but shows error Pin
Blue_Boy5-Jun-09 1:33
Blue_Boy5-Jun-09 1:33 
AnswerRe: want to allow the user to enter ' but shows error Pin
Guffa3-Jun-09 21:52
Guffa3-Jun-09 21:52 
AnswerRe: want to allow the user to enter ' but shows error Pin
musefan3-Jun-09 21:56
musefan3-Jun-09 21:56 
QuestionAdvanced ToolTip. Pin
bsaksida3-Jun-09 20:40
bsaksida3-Jun-09 20:40 
AnswerRe: Advanced ToolTip. Pin
0x3c03-Jun-09 21:42
0x3c03-Jun-09 21:42 
QuestionError in Page.RegisterClientScriptBlock Pin
Murtuza Husain Miyan Patel3-Jun-09 20:39
professionalMurtuza Husain Miyan Patel3-Jun-09 20:39 
QuestionProblem in UnInstalling a BHO setup? Pin
svt gdwl3-Jun-09 20:24
svt gdwl3-Jun-09 20:24 
QuestionDatagridview delete problem Pin
half-life3-Jun-09 20:03
half-life3-Jun-09 20:03 
AnswerRe: Datagridview delete problem Pin
bsaksida3-Jun-09 20:54
bsaksida3-Jun-09 20:54 
GeneralRe: Datagridview delete problem Pin
half-life3-Jun-09 21:03
half-life3-Jun-09 21:03 
GeneralRe: Datagridview delete problem Pin
Mycroft Holmes3-Jun-09 22:18
professionalMycroft Holmes3-Jun-09 22:18 
GeneralRe: Datagridview delete problem Pin
half-life3-Jun-09 23:13
half-life3-Jun-09 23:13 
AnswerRe: Datagridview delete problem Pin
bsaksida4-Jun-09 6:54
bsaksida4-Jun-09 6:54 
GeneralRe: Datagridview delete problem Pin
half-life6-Jun-09 19:32
half-life6-Jun-09 19:32 
QuestionCharacter map Pin
dell2243-Jun-09 18:44
dell2243-Jun-09 18:44 
AnswerRe: Character map Pin
Anubhava Dimri13-Apr-11 19:27
Anubhava Dimri13-Apr-11 19:27 
QuestionDisabling back button of IE window using c# Pin
svt gdwl3-Jun-09 18:38
svt gdwl3-Jun-09 18:38 

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.