Click here to Skip to main content
15,896,915 members
Home / Discussions / C#
   

C#

 
SuggestionRe: DB2 Connection for Visual Studio Express 2010 Pin
Richard MacCutchan18-Sep-13 2:48
mveRichard MacCutchan18-Sep-13 2:48 
GeneralRe: DB2 Connection for Visual Studio Express 2010 Pin
Chris-Za22-Sep-13 8:50
Chris-Za22-Sep-13 8:50 
GeneralRe: DB2 Connection for Visual Studio Express 2010 Pin
Richard MacCutchan22-Sep-13 21:21
mveRichard MacCutchan22-Sep-13 21:21 
AnswerRe: DB2 Connection for Visual Studio Express 2010 Pin
Eddy Vluggen18-Sep-13 6:46
professionalEddy Vluggen18-Sep-13 6:46 
QuestionPlease help me here, I need to insert data from datagridview to ms access table, and I keep getting an error that says the insert into statement contains the following unknown field name : 'Username',please help me fix this.thanks Pin
katlegoM17-Sep-13 10:41
katlegoM17-Sep-13 10:41 
AnswerRe: Please help me here, I need to insert data from datagridview to ms access table, and I keep getting an error that says the insert into statement contains the following unknown field name : 'Username',please help me fix this.thanks Pin
Dave Kreskowiak17-Sep-13 10:54
mveDave Kreskowiak17-Sep-13 10:54 
GeneralRe: Please help me here, I need to insert data from datagridview to ms access table, and I keep getting an error that says the insert into statement contains the following unknown field name : 'Username',please help me fix this.thanks Pin
katlegoM17-Sep-13 10:57
katlegoM17-Sep-13 10:57 
AnswerRe: Please help me here, I need to insert data from datagridview to ms access table, and I keep getting an error that says the insert into statement contains the following unknown field name : 'Username',please help me fix this.thanks Pin
Eddy Vluggen17-Sep-13 11:00
professionalEddy Vluggen17-Sep-13 11:00 
"Username" is a reserved keyword[^], and a bad choice for a column-name. You'd have to escape it, probably by putting it in [username]. A better solution would be to rename the column.

You'd also want to be using "parameterizes queries" to prevent people like me from deleting everything in there. And instead of manually disposing, I'd recommend using a using clause.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Please help me here, I need to insert data from datagridview to ms access table, and I keep getting an error that says the insert into statement contains the following unknown field name : 'Username',please help me fix this.thanks Pin
Dholakiya Ankit18-Sep-13 2:22
Dholakiya Ankit18-Sep-13 2:22 
AnswerRe: Please help me here, I need to insert data from datagridview to ms access table, and I keep getting an error that says the insert into statement contains the following unknown field name : 'Username',please help me fix this.thanks Pin
katlegoM18-Sep-13 8:10
katlegoM18-Sep-13 8:10 
Questionerror on receive data from seril port Pin
omid32116-Sep-13 21:08
omid32116-Sep-13 21:08 
AnswerRe: error on receive data from seril port Pin
Abhinav S16-Sep-13 22:21
Abhinav S16-Sep-13 22:21 
GeneralRe: error on receive data from seril port Pin
omid32117-Sep-13 2:20
omid32117-Sep-13 2:20 
GeneralRe: error on receive data from seril port Pin
Dave Kreskowiak17-Sep-13 8:46
mveDave Kreskowiak17-Sep-13 8:46 
QuestionIIS hosted site not working properly in Integrated Mode but working fine in Classic Mode? Pin
Rajesh_DotNet16-Sep-13 19:19
professionalRajesh_DotNet16-Sep-13 19:19 
AnswerRe: IIS hosted site not working properly in Integrated Mode but working fine in Classic Mode? Pin
Richard MacCutchan16-Sep-13 20:44
mveRichard MacCutchan16-Sep-13 20:44 
AnswerRe: IIS hosted site not working properly in Integrated Mode but working fine in Classic Mode? Pin
Abhinav S18-Sep-13 18:54
Abhinav S18-Sep-13 18:54 
QuestionCalculate the date of the previous and next 2 Wednesdays Pin
Member 416962816-Sep-13 5:55
Member 416962816-Sep-13 5:55 
AnswerRe: Calculate the date of the previous and next 2 Wednesdays Pin
Richard MacCutchan16-Sep-13 6:47
mveRichard MacCutchan16-Sep-13 6:47 
AnswerRe: Calculate the date of the previous and next 2 Wednesdays Pin
BillWoodruff16-Sep-13 7:13
professionalBillWoodruff16-Sep-13 7:13 
AnswerRe: Calculate the date of the previous and next 2 Wednesdays Pin
PIEBALDconsult16-Sep-13 13:59
mvePIEBALDconsult16-Sep-13 13:59 
GeneralRe: Calculate the date of the previous and next 2 Wednesdays Pin
Richard MacCutchan16-Sep-13 20:43
mveRichard MacCutchan16-Sep-13 20:43 
GeneralRe: Calculate the date of the previous and next 2 Wednesdays Pin
Member 416962816-Sep-13 22:51
Member 416962816-Sep-13 22:51 
QuestionDo we need to schedule threads to diff processors? Pin
Srinivas P N V16-Sep-13 2:10
Srinivas P N V16-Sep-13 2:10 
AnswerRe: Do we need to schedule threads to diff processors? Pin
Eddy Vluggen16-Sep-13 2:59
professionalEddy Vluggen16-Sep-13 2:59 

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.