Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
GeneralRe: accessing HID + c# Pin
Dave Kreskowiak9-Jun-05 6:45
mveDave Kreskowiak9-Jun-05 6:45 
GeneralRe: accessing HID + c# Pin
g00fyman9-Jun-05 18:54
g00fyman9-Jun-05 18:54 
GeneralRe: accessing HID + c# Pin
Dave Kreskowiak10-Jun-05 1:29
mveDave Kreskowiak10-Jun-05 1:29 
GeneralRe: accessing HID + c# Pin
g00fyman10-Jun-05 1:35
g00fyman10-Jun-05 1:35 
GeneralC# Sql INSERT statment Pin
Rinventive8-Jun-05 23:33
Rinventive8-Jun-05 23:33 
GeneralRe: C# Sql INSERT statment Pin
codeprojectin8-Jun-05 23:47
codeprojectin8-Jun-05 23:47 
GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 0:25
Rinventive9-Jun-05 0:25 
GeneralRe: C# Sql INSERT statment Pin
Colin Angus Mackay8-Jun-05 23:56
Colin Angus Mackay8-Jun-05 23:56 
You cannot insert into an AutoNumber column. Either make the column a regular number column, or do not include the column in the INSERT statement (allowing the database to assign it the next available number).

Also, your code is extremely susceptable to a SQL Injection Attack. You should read SQL Injection Attackes and Tips on How To Prevent Them[^]


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


GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 0:30
Rinventive9-Jun-05 0:30 
GeneralRe: C# Sql INSERT statment Pin
Carsten Zeumer9-Jun-05 0:54
Carsten Zeumer9-Jun-05 0:54 
GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 0:57
Rinventive9-Jun-05 0:57 
GeneralRe: C# Sql INSERT statment Pin
Carsten Zeumer9-Jun-05 1:03
Carsten Zeumer9-Jun-05 1:03 
GeneralRe: C# Sql INSERT statment Pin
V.9-Jun-05 1:02
professionalV.9-Jun-05 1:02 
GeneralRe: C# Sql INSERT statment Pin
Colin Angus Mackay9-Jun-05 1:06
Colin Angus Mackay9-Jun-05 1:06 
GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 1:13
Rinventive9-Jun-05 1:13 
GeneralRe: C# Sql INSERT statment Pin
Dave Kreskowiak9-Jun-05 6:38
mveDave Kreskowiak9-Jun-05 6:38 
GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 1:28
Rinventive9-Jun-05 1:28 
GeneralRe: C# Sql INSERT statment Pin
Colin Angus Mackay9-Jun-05 1:31
Colin Angus Mackay9-Jun-05 1:31 
GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 1:34
Rinventive9-Jun-05 1:34 
GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 1:42
Rinventive9-Jun-05 1:42 
GeneralRe: C# Sql INSERT statment Pin
Rinventive9-Jun-05 1:53
Rinventive9-Jun-05 1:53 
GeneralRe: C# Sql INSERT statment Pin
vincent.reynolds9-Jun-05 5:50
vincent.reynolds9-Jun-05 5:50 
QuestionListView multiline items? Pin
george ivanov8-Jun-05 22:58
george ivanov8-Jun-05 22:58 
AnswerRe: ListView multiline items? Pin
Philip Price8-Jun-05 23:18
Philip Price8-Jun-05 23:18 
AnswerRe: ListView multiline items? Pin
Dave Kreskowiak9-Jun-05 6:32
mveDave Kreskowiak9-Jun-05 6:32 

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.