Click here to Skip to main content
15,887,361 members
Home / Discussions / C#
   

C#

 
QuestionInsert img into sql without using sqlparameter Pin
mohammadkaab4-Apr-13 22:04
mohammadkaab4-Apr-13 22:04 
AnswerRe: Insert img into sql without using sqlparameter Pin
Eddy Vluggen4-Apr-13 22:31
professionalEddy Vluggen4-Apr-13 22:31 
GeneralRe: Insert img into sql without using sqlparameter Pin
mohammadkaab4-Apr-13 22:51
mohammadkaab4-Apr-13 22:51 
AnswerRe: Insert img into sql without using sqlparameter Pin
Eddy Vluggen4-Apr-13 22:55
professionalEddy Vluggen4-Apr-13 22:55 
GeneralRe: Insert img into sql without using sqlparameter Pin
mohammadkaab4-Apr-13 23:05
mohammadkaab4-Apr-13 23:05 
GeneralRe: Insert img into sql without using sqlparameter Pin
Eddy Vluggen5-Apr-13 0:29
professionalEddy Vluggen5-Apr-13 0:29 
GeneralRe: Insert img into sql without using sqlparameter Pin
Richard Deeming5-Apr-13 1:41
mveRichard Deeming5-Apr-13 1:41 
GeneralRe: Insert img into sql without using sqlparameter Pin
BobJanova5-Apr-13 5:15
BobJanova5-Apr-13 5:15 
Yes, it is wrong. Very wrong: anyone with access to the page that submits those text boxes, and an educated guess at the type of query they'll be used in, can now execute arbitrary queries against your database with all the permissions of your script (which, if you're allowing SQL injection, you probably haven't closed down properly either).

Using parameterised queries is most important when you accept free text from the user.
GeneralRe: Insert img into sql without using sqlparameter Pin
Keith Barrow5-Apr-13 2:44
professionalKeith Barrow5-Apr-13 2:44 
GeneralRe: Insert img into sql without using sqlparameter Pin
Jason Gleim5-Apr-13 11:01
professionalJason Gleim5-Apr-13 11:01 
AnswerRe: Insert img into sql without using sqlparameter Pin
cursore844-Apr-13 23:25
cursore844-Apr-13 23:25 
Questionc# exchange server 2007 set user properties Pin
Member 97066334-Apr-13 20:52
Member 97066334-Apr-13 20:52 
QuestionDll sharing and autoupdate application Pin
jp19814-Apr-13 20:14
jp19814-Apr-13 20:14 
AnswerRe: Dll sharing and autoupdate application Pin
Eddy Vluggen4-Apr-13 22:29
professionalEddy Vluggen4-Apr-13 22:29 
GeneralRe: Dll sharing and autoupdate application Pin
jp19814-Apr-13 22:59
jp19814-Apr-13 22:59 
GeneralRe: Dll sharing and autoupdate application Pin
Eddy Vluggen5-Apr-13 7:02
professionalEddy Vluggen5-Apr-13 7:02 
AnswerRe: Dll sharing and autoupdate application Pin
AmitGajjar5-Apr-13 20:38
professionalAmitGajjar5-Apr-13 20:38 
GeneralRe: Dll sharing and autoupdate application Pin
jp19815-Apr-13 23:46
jp19815-Apr-13 23:46 
QuestionProblem about size with creating excel file using xml spreadsheet ? Pin
taibc4-Apr-13 18:01
taibc4-Apr-13 18:01 
AnswerRe: Problem about size with creating excel file using xml spreadsheet ? Pin
Mycroft Holmes4-Apr-13 20:07
professionalMycroft Holmes4-Apr-13 20:07 
GeneralRe: Problem about size with creating excel file using xml spreadsheet ? Pin
taibc4-Apr-13 20:19
taibc4-Apr-13 20:19 
GeneralRe: Problem about size with creating excel file using xml spreadsheet ? Pin
Mycroft Holmes4-Apr-13 20:58
professionalMycroft Holmes4-Apr-13 20:58 
GeneralRe: Problem about size with creating excel file using xml spreadsheet ? Pin
taibc4-Apr-13 21:48
taibc4-Apr-13 21:48 
GeneralRe: Problem about size with creating excel file using xml spreadsheet ? Pin
Mycroft Holmes4-Apr-13 22:02
professionalMycroft Holmes4-Apr-13 22:02 
GeneralRe: Problem about size with creating excel file using xml spreadsheet ? Pin
taibc4-Apr-13 22:05
taibc4-Apr-13 22: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.