Click here to Skip to main content
15,891,704 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular expression efficiency Pin
AnonymousTwo17-Jul-05 6:09
AnonymousTwo17-Jul-05 6:09 
GeneralRe: Regular expression efficiency Pin
Brian Delahunty17-Jul-05 7:30
Brian Delahunty17-Jul-05 7:30 
GeneralC# Obfuscations - need your input on my questionnaires please Pin
Chua Wen Ching17-Jul-05 1:55
Chua Wen Ching17-Jul-05 1:55 
Generallistview autoarrange Pin
Sabry190517-Jul-05 1:52
Sabry190517-Jul-05 1:52 
GeneralRe: listview autoarrange Pin
Alex Korchemniy17-Jul-05 14:29
Alex Korchemniy17-Jul-05 14:29 
GeneralRe: listview autoarrange Pin
Sabry190517-Jul-05 21:15
Sabry190517-Jul-05 21:15 
GeneralDelete Query String in Oledb Pin
pakFari16-Jul-05 23:55
pakFari16-Jul-05 23:55 
GeneralRe: Delete Query String in Oledb Pin
Colin Angus Mackay17-Jul-05 1:23
Colin Angus Mackay17-Jul-05 1:23 
If we ignore the gaping hole in the security of your application (May I suggest that you read SQL Injection Attacks and Tips on How to Prevent Them[^]) you can easily combine the two statements into one by using OR in the WHERE clause.

e.g.
DELETE FROM Trouser WHERE Company = 'abc' OR Waist = 123
That will delete the row where any of the conditions are true. Compare this with AND where all the conditions must be true in order for the row to be deleted.

Does this help?


My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


Generalredirect shortcut key Pin
Sabry190516-Jul-05 23:54
Sabry190516-Jul-05 23:54 
GeneralRe: redirect shortcut key Pin
Alex Korchemniy17-Jul-05 14:32
Alex Korchemniy17-Jul-05 14:32 
GeneralRe: redirect shortcut key Pin
Sabry190517-Jul-05 21:20
Sabry190517-Jul-05 21:20 
Generalgetting registered file extensions Pin
g00fyman16-Jul-05 20:53
g00fyman16-Jul-05 20:53 
GeneralRe: getting registered file extensions Pin
g00fyman17-Jul-05 2:05
g00fyman17-Jul-05 2:05 
GeneralRe: getting registered file extensions Pin
g00fyman17-Jul-05 3:34
g00fyman17-Jul-05 3:34 
GeneralSHGetFileInfo icon and dispose Pin
CiNN16-Jul-05 17:03
CiNN16-Jul-05 17:03 
GeneralRe: SHGetFileInfo icon and dispose Pin
Alex Korchemniy17-Jul-05 14:35
Alex Korchemniy17-Jul-05 14:35 
GeneralRe: SHGetFileInfo icon and dispose Pin
CiNN17-Jul-05 15:06
CiNN17-Jul-05 15:06 
QuestionTake screenshots using C#? Pin
Lord Kixdemp16-Jul-05 16:25
Lord Kixdemp16-Jul-05 16:25 
AnswerRe: Take screenshots using C#? Pin
bneacetp16-Jul-05 17:02
bneacetp16-Jul-05 17:02 
GeneralRe: Take screenshots using C#? Pin
Lord Kixdemp16-Jul-05 18:45
Lord Kixdemp16-Jul-05 18:45 
QuestionPaint control? Pin
Lord Kixdemp16-Jul-05 16:18
Lord Kixdemp16-Jul-05 16:18 
AnswerRe: Paint control? Pin
Tomas Petricek17-Jul-05 1:53
Tomas Petricek17-Jul-05 1:53 
GeneralRe: Paint control? Pin
Lord Kixdemp17-Jul-05 6:11
Lord Kixdemp17-Jul-05 6:11 
GeneralAsynchronous Comms Pin
Anonymous16-Jul-05 13:15
Anonymous16-Jul-05 13:15 
Generalbandwidth usage Pin
Mohamad Al Husseiny16-Jul-05 10:37
Mohamad Al Husseiny16-Jul-05 10:37 

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.