Click here to Skip to main content
15,912,400 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.net Pin
Richard MacCutchan11-Jul-15 6:49
mveRichard MacCutchan11-Jul-15 6:49 
QuestionContent binding Pin
Member 117443549-Jul-15 2:14
Member 117443549-Jul-15 2:14 
AnswerRe: Content binding Pin
User 418025410-Jul-15 11:58
User 418025410-Jul-15 11:58 
AnswerRe: Content binding Pin
Richard MacCutchan10-Jul-15 21:21
mveRichard MacCutchan10-Jul-15 21:21 
QuestionA connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Pin
Member 118251139-Jul-15 2:04
Member 118251139-Jul-15 2:04 
AnswerRe: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Pin
Herman<T>.Instance13-Jul-15 0:15
Herman<T>.Instance13-Jul-15 0:15 
QuestionSingle quote character in query string causes SQL injection Pin
Stephen Holdorf8-Jul-15 11:07
Stephen Holdorf8-Jul-15 11:07 
AnswerRe: Single quote character in query string causes SQL injection Pin
Paulo Zemek8-Jul-15 12:08
Paulo Zemek8-Jul-15 12:08 
I don't know if I understand your "SQL Injection error". SQL Injection is not an "error" it is an attack.

Anyways, SQL Injection only happens when you concatenate user provided strings or replace your actual SQL string with user provided data. Is @docNum is a real parameter (filled used a parameter, not a string replace) then your string is not going to suffer SQL Injection.

Anyways, I think the @docNum% will not work. You are supposed to use @docNum only... the % must be part of the docNum content (I don't know if databases support comining a parameter with %... never tried, it simply looks wrong). But even if the % works, I am pretty sure the ' will become a parser error.

AnswerRe: Single quote character in query string causes SQL injection Pin
Richard Deeming9-Jul-15 1:54
mveRichard Deeming9-Jul-15 1:54 
QuestionMVC Role users error instance Pin
DPaul19948-Jul-15 8:39
DPaul19948-Jul-15 8:39 
AnswerRe: MVC Role users error instance Pin
Herman<T>.Instance13-Jul-15 0:18
Herman<T>.Instance13-Jul-15 0:18 
QuestionConnection to vpn using .bat file Pin
vineet13047-Jul-15 7:58
vineet13047-Jul-15 7:58 
AnswerRe: Connection to vpn using .bat file Pin
ZurdoDev7-Jul-15 8:02
professionalZurdoDev7-Jul-15 8:02 
QuestionUsing Entity Framework on a Web Forms Website Pin
jkirkerx6-Jul-15 6:23
professionaljkirkerx6-Jul-15 6:23 
QuestionSingle Page Application based on .NET Pin
Ishwor Khanal3-Jul-15 17:05
Ishwor Khanal3-Jul-15 17:05 
AnswerRe: Single Page Application based on .NET Pin
Abhinav S7-Jul-15 16:46
Abhinav S7-Jul-15 16:46 
QuestionXmlTextWriter.Create(MemoryStream, xmlSettings) Pin
jkirkerx3-Jul-15 9:32
professionaljkirkerx3-Jul-15 9:32 
QuestionThe message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available Pin
Kushal Gupta2-Jul-15 22:12
Kushal Gupta2-Jul-15 22:12 
AnswerRe: The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available Pin
Abhinav S2-Jul-15 22:54
Abhinav S2-Jul-15 22:54 
Questiondisplay day name of selected date Pin
Praveen Kandari2-Jul-15 21:36
Praveen Kandari2-Jul-15 21:36 
AnswerRe: display day name of selected date Pin
Abhinav S2-Jul-15 22:52
Abhinav S2-Jul-15 22:52 
GeneralRe: display day name of selected date Pin
Praveen Kandari2-Jul-15 23:39
Praveen Kandari2-Jul-15 23:39 
QuestionASP.NET MVC4 / WebAPI OAuth - DotNetOpenAuth Pin
Jammer30-Jun-15 4:11
Jammer30-Jun-15 4:11 
QuestionCan any one help me to post content on linked in asp.net? Pin
Raghavendra.Kodimala29-Jun-15 21:19
professionalRaghavendra.Kodimala29-Jun-15 21:19 
AnswerRe: Can any one help me to post content on linked in asp.net? Pin
deepankarbhatnagar6-Jul-15 1:10
professionaldeepankarbhatnagar6-Jul-15 1:10 

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.