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

C#

 
Questionstatic keyword like C++ Pin
Maksymus00731-Jul-06 12:29
Maksymus00731-Jul-06 12:29 
AnswerRe: static keyword like C++ Pin
Guffa31-Jul-06 13:23
Guffa31-Jul-06 13:23 
AnswerRe: static keyword like C++ Pin
Kamal Sagar1-Aug-06 2:05
Kamal Sagar1-Aug-06 2:05 
Questionmy INSERT is not working Pin
Tom Wright31-Jul-06 10:40
Tom Wright31-Jul-06 10:40 
AnswerRe: my INSERT is not working Pin
Empires31-Jul-06 12:22
Empires31-Jul-06 12:22 
GeneralRe: my INSERT is not working Pin
Tom Wright31-Jul-06 12:30
Tom Wright31-Jul-06 12:30 
GeneralRe: my INSERT is not working Pin
Colin Angus Mackay31-Jul-06 12:36
Colin Angus Mackay31-Jul-06 12:36 
AnswerRe: my INSERT is not working Pin
Colin Angus Mackay31-Jul-06 12:39
Colin Angus Mackay31-Jul-06 12:39 
Tom Wright wrote:
private void WriteRecord(byte[] ByteBuffer, int TrackNumber)

Tom Wright wrote:
SqlCommand myCommand = new SqlCommand("SELECT * FROM DMV2 WHERE DMV2_TRACK_NO = " + TrackNumber + " AND DMV2_RCD_TYPE = 'Q'", myConnection);


I don't see how this even compiles as TrackNumber is an int.

You should read about SQL Injection Attacks because this code is perfect for attacking. Here is an article that tells you What a SQL Injection Attack is, how it works, how to spot code that is susceptable and how to write better code[^]


GeneralRe: my INSERT is not working Pin
Christian Graus31-Jul-06 19:18
protectorChristian Graus31-Jul-06 19:18 
GeneralRe: my INSERT is not working Pin
Colin Angus Mackay31-Jul-06 20:32
Colin Angus Mackay31-Jul-06 20:32 
GeneralRe: my INSERT is not working Pin
Tom Wright3-Aug-06 10:48
Tom Wright3-Aug-06 10:48 
QuestionCompressing directrory tree into single zip file Pin
Ilia Blank31-Jul-06 10:09
Ilia Blank31-Jul-06 10:09 
AnswerRe: Compressing directrory tree into single zip file Pin
Dustin Metzgar31-Jul-06 10:42
Dustin Metzgar31-Jul-06 10:42 
QuestionC# user control in VB6? is it possible? Pin
Xodiak31-Jul-06 9:20
Xodiak31-Jul-06 9:20 
QuestionListView (CLR 2.0) in virtual mode and OwnerDraw with mouse over = problems Pin
Fred dBu31-Jul-06 8:14
Fred dBu31-Jul-06 8:14 
AnswerRe: ListView (CLR 2.0) in virtual mode and OwnerDraw with mouse over = problems Pin
Ed.Poore31-Jul-06 8:39
Ed.Poore31-Jul-06 8:39 
GeneralRe: ListView (CLR 2.0) in virtual mode and OwnerDraw with mouse over = problems Pin
Fred dBu31-Jul-06 8:49
Fred dBu31-Jul-06 8:49 
GeneralRe: ListView (CLR 2.0) in virtual mode and OwnerDraw with mouse over = problems Pin
Ed.Poore31-Jul-06 9:52
Ed.Poore31-Jul-06 9:52 
GeneralRe: ListView (CLR 2.0) in virtual mode and OwnerDraw with mouse over = problems Pin
Fred dBu31-Jul-06 20:45
Fred dBu31-Jul-06 20:45 
GeneralRe: ListView (CLR 2.0) in virtual mode and OwnerDraw with mouse over = problems Pin
Ed.Poore31-Jul-06 21:56
Ed.Poore31-Jul-06 21:56 
QuestionHow to pass not simple types using .NET Remoting Pin
Nigor31-Jul-06 6:36
Nigor31-Jul-06 6:36 
AnswerRe: How to pass not simple types using .NET Remoting Pin
Dustin Metzgar31-Jul-06 6:46
Dustin Metzgar31-Jul-06 6:46 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Nigor31-Jul-06 7:08
Nigor31-Jul-06 7:08 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Dustin Metzgar31-Jul-06 8:16
Dustin Metzgar31-Jul-06 8:16 
GeneralRe: How to pass not simple types using .NET Remoting [modified] Pin
Nigor31-Jul-06 8:49
Nigor31-Jul-06 8:49 

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.