Click here to Skip to main content
15,917,061 members
Home / Discussions / C#
   

C#

 
GeneralRe: CS1525: Invalid expression term '<' error Pin
Richard MacCutchan17-Apr-14 22:16
mveRichard MacCutchan17-Apr-14 22:16 
Questionquestion abot WPF Button Pin
Member 1026763017-Apr-14 3:44
Member 1026763017-Apr-14 3:44 
GeneralRe: question abot WPF Button Pin
Richard MacCutchan17-Apr-14 5:32
mveRichard MacCutchan17-Apr-14 5:32 
GeneralRe: question abot WPF Button Pin
Richard Andrew x6417-Apr-14 8:51
professionalRichard Andrew x6417-Apr-14 8:51 
QuestionHow Do I show Users datail information like Full name,dob etc in a web page stored in database apart from username? Pin
krish099117-Apr-14 1:57
krish099117-Apr-14 1:57 
AnswerRe: How Do I show Users datail information like Full name,dob etc in a web page stored in database apart from username? Pin
Pete O'Hanlon17-Apr-14 2:08
mvePete O'Hanlon17-Apr-14 2:08 
AnswerRe: How Do I show Users datail information like Full name,dob etc in a web page stored in database apart from username? Pin
Tom Marvolo Riddle17-Apr-14 2:21
professionalTom Marvolo Riddle17-Apr-14 2:21 
QuestionSee the Activity monitor of employers Pin
Hrishabh Kushwah17-Apr-14 0:56
professionalHrishabh Kushwah17-Apr-14 0:56 
AnswerRe: See the Activity monitor of employers Pin
Wes Aday17-Apr-14 1:51
professionalWes Aday17-Apr-14 1:51 
AnswerRe: See the Activity monitor of employers Pin
Eddy Vluggen17-Apr-14 10:20
professionalEddy Vluggen17-Apr-14 10:20 
Questioni want to know how to compare the two gridviews values Pin
Member 1075542716-Apr-14 21:46
Member 1075542716-Apr-14 21:46 
AnswerRe: i want to know how to compare the two gridviews values Pin
OriginalGriff16-Apr-14 22:04
mveOriginalGriff16-Apr-14 22:04 
AnswerRe: i want to know how to compare the two gridviews values Pin
Chris Quinn16-Apr-14 23:04
Chris Quinn16-Apr-14 23:04 
Questionhow to get and compare values between two gridviews Pin
Member 1075542716-Apr-14 21:37
Member 1075542716-Apr-14 21:37 
GeneralRe: how to get and compare values between two gridviews Pin
Agent__00716-Apr-14 22:02
professionalAgent__00716-Apr-14 22:02 
SuggestionRe: how to get and compare values between two gridviews Pin
Richard MacCutchan16-Apr-14 22:29
mveRichard MacCutchan16-Apr-14 22:29 
SuggestionRe: how to get and compare values between two gridviews Pin
Richard Deeming17-Apr-14 2:04
mveRichard Deeming17-Apr-14 2:04 
GeneralRe: how to get and compare values between two gridviews Pin
Richard MacCutchan17-Apr-14 5:27
mveRichard MacCutchan17-Apr-14 5:27 
GeneralRe: how to get and compare values between two gridviews Pin
Eddy Vluggen17-Apr-14 5:40
professionalEddy Vluggen17-Apr-14 5:40 
GeneralRe: how to get and compare values between two gridviews Pin
Richard Deeming17-Apr-14 5:40
mveRichard Deeming17-Apr-14 5:40 
GeneralRe: how to get and compare values between two gridviews Pin
Richard MacCutchan17-Apr-14 6:08
mveRichard MacCutchan17-Apr-14 6:08 
GeneralRe: how to get and compare values between two gridviews Pin
Richard Deeming17-Apr-14 6:37
mveRichard Deeming17-Apr-14 6:37 
GeneralRe: how to get and compare values between two gridviews Pin
Richard MacCutchan17-Apr-14 6:52
mveRichard MacCutchan17-Apr-14 6:52 
GeneralRe: how to get and compare values between two gridviews Pin
Richard Deeming17-Apr-14 7:11
mveRichard Deeming17-Apr-14 7:11 
Richard MacCutchan wrote:
Sorry, but I did not start this.

Richard MacCutchan wrote:
You obviously have no idea what string concatenation means.

That looks like the start to me, but whatever gets you through the day. Hmmm | :|


Richard MacCutchan wrote:
It is a single example of how a string.Format statement can be used to create a string when a variable value is to be inserted at a particular point.

I'll assume you've never heard of Cargo cult programming[^] then?

Whenever you give a novice developer a "single example", particularly where you've taken a shortcut because you know that this particular example doesn't necessarily need the full and correct approach, that example will get copied and adapted by people who have no idea what the correct approach is, and don't understand the limitations of your shortcut. Before you know where you are, that "single example" is littered throughout their code-base, and used in ways that will introduce SQLi vulnerabilities.

The simplicity of using parameterized queries in ADO.NET means that there is never an excuse for doing it the "wrong" way, even in a short throwaway example, even if you are absolutely certain that your example is invulnerable to SQLi.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: how to get and compare values between two gridviews Pin
Richard MacCutchan17-Apr-14 7:22
mveRichard MacCutchan17-Apr-14 7:22 

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.