Why do I bother?
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
I'm with the army, and do not bother with anything. Technically speaking it's the air force I'm with, but I still don't bother. After two weeks I now think about starting a Zen Buddhism class, that's how much I bother.
The console is a black place
-
I'm with the army, and do not bother with anything. Technically speaking it's the air force I'm with, but I still don't bother. After two weeks I now think about starting a Zen Buddhism class, that's how much I bother.
The console is a black place
Switzerland has an air force? :omg: That doesn't involve folded sheets of paper? :wtf: Why was I not informed?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
Switzerland has an air force? :omg: That doesn't involve folded sheets of paper? :wtf: Why was I not informed?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
http://www.lw.admin.ch/internet/luftwaffe/en/home.html[^] The airforce is probably the most useful part of the swiss military, and reasonably good equipped. They maintain their own fiberglass high speed network across switzerland, and even the radar stations on the top of the mountains are connected to it.
The console is a black place
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
I'm with the army, and do not bother with anything. Technically speaking it's the air force I'm with, but I still don't bother. After two weeks I now think about starting a Zen Buddhism class, that's how much I bother.
The console is a black place
My spy-net send me the images of the latest air-plain models Swiss army using - http://ecx.images-amazon.com/images/I/419gmxtJUpL.jpg[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
:laugh: Two more notification to get later...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
My spy-net send me the images of the latest air-plain models Swiss army using - http://ecx.images-amazon.com/images/I/419gmxtJUpL.jpg[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
I'd love to see an origami Death Star fly! :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
Thanks for the laugh of the day
Wrong is evil and must be defeated. - Jeff Ello[^]
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
OriginalGriff wrote:
*BANG*desk*BANG*desk*BANG*
Is that your head your banging on the desk or his?
A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
I'm with the army, and do not bother with anything. Technically speaking it's the air force I'm with, but I still don't bother. After two weeks I now think about starting a Zen Buddhism class, that's how much I bother.
The console is a black place
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
Why is it that is seems like whenever someone asks a question in a forum their brains fall out of their head when they start reading the answers? It used to be that users brains evaporated when they sat down in front of a keyboard and mouse. Now that's moved on to people "writing" code!?
A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
OriginalGriff wrote:
*BANG*desk*BANG*desk*BANG*
Is that your head your banging on the desk or his?
A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave KreskowiakOh, it's mine. I don't know where he lives... :sigh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
See? I told you to have a drink.
-
Quote:
I now think about starting a Zen Buddhism class,
You would, but you can't be bothered?
- I would love to change the world, but they won’t give me the source code.
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
What's wrong with that? He proved clearly that he understood the words you said to him, and he could reliably reproduce your words, character by character, not even a iota did he get wrong. :-\
-
Quote:
I now think about starting a Zen Buddhism class,
You would, but you can't be bothered?
- I would love to change the world, but they won’t give me the source code.
-
http://www.lw.admin.ch/internet/luftwaffe/en/home.html[^] The airforce is probably the most useful part of the swiss military, and reasonably good equipped. They maintain their own fiberglass high speed network across switzerland, and even the radar stations on the top of the mountains are connected to it.
The console is a black place
Marco Bertschi wrote:
They maintain their own fiberglass high speed network across switzerland, and even the radar stations on the top of the mountains are connected to it.
Yeah. With breathtaking 8 Mbit/s transfer rate :rolleyes: I know that. Because well, thats what I did/do during my army time. Setting up radio stations to connect to that network. Well, it's enough for telephones and fax devices :laugh:
-
A question this morning, and as part of explaining what was causing the problem he had noticed, I suggested that this code:
string checkuser = " select count(*) from UserDetail where UserName='" + TextBoxUN + "'";
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
And he should use TextBoxUN.Text instead, but that it was dangerous because of SQL Injection. Unrelated to the problem he had noticed, but going to be a problem soon. So...fast forward a couple of hours, and the same user has a new problem: his code doesn't find his username:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
SqlCommand com = new SqlCommand(checkuser, conn);*BANG*desk*BANG*desk*BANG*
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
OriginalGriff wrote:
Wasn't going to work, because it would be the same as writing:
string checkuser = " select count(*) from UserDetail where UserName='System.Web.UI.WebControls.TextBox'";
Just give him codezzz
To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia
-
I'd love to see an origami Death Star fly! :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
Origami Death Star Instructions: 1. Take square of paper (from newspaper should work well). 2. Screw it up into a ball. 3. Press thumb into one side to create recess. 4. er.. that's it.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.