Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
Generalusing the serial port Pin
Mridang Agarwalla23-Apr-05 18:06
Mridang Agarwalla23-Apr-05 18:06 
GeneralRe: using the serial port Pin
Peter Ritchie24-Apr-05 8:21
Peter Ritchie24-Apr-05 8:21 
GeneralException handling problem.. Pin
23-Apr-05 13:51
suss23-Apr-05 13:51 
GeneralRe: Exception handling problem.. Pin
Carl Mercier23-Apr-05 14:03
Carl Mercier23-Apr-05 14:03 
GeneralRe: Exception handling problem.. Pin
Tugbay Sahin23-Apr-05 14:55
Tugbay Sahin23-Apr-05 14:55 
GeneralRe: Exception handling problem.. Pin
Carl Mercier23-Apr-05 16:43
Carl Mercier23-Apr-05 16:43 
GeneralRe: Exception handling problem.. Pin
Dave Kreskowiak23-Apr-05 17:31
mveDave Kreskowiak23-Apr-05 17:31 
GeneralRe: Exception handling problem.. Pin
Colin Angus Mackay23-Apr-05 22:48
Colin Angus Mackay23-Apr-05 22:48 
Tuğbay wrote:
I have some validations...It is not the problem for me..

You should use parameterised queries as a matter of course. Injecting values into a SQL String like this is not acceptable in today's security aware world.

See this article[^] which explains the security issues with the way you are doing this and gives an example of moving from this injection based way to using parameterised queries.

As a general bit of advice. If you are getting a syntax error and you need help on a forum you need to post the exact code that caused the syntax error and the syntax error itself. In this case you need to post the result of the string concatenations as it is quite difficult to tell from just the C# code alone.


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


GeneralRe: Exception handling problem.. Pin
Tugbay Sahin24-Apr-05 7:15
Tugbay Sahin24-Apr-05 7:15 
GeneralRe: Exception handling problem.. Pin
Colin Angus Mackay24-Apr-05 13:05
Colin Angus Mackay24-Apr-05 13:05 
GeneralRe: Exception handling problem.. Pin
Dave Kreskowiak24-Apr-05 16:22
mveDave Kreskowiak24-Apr-05 16:22 
GeneralRe: Exception handling problem.. Pin
Tugbay Sahin24-Apr-05 19:54
Tugbay Sahin24-Apr-05 19:54 
GeneralCreate a class an object dinamically with DataRow fields and values Pin
machocr23-Apr-05 13:18
machocr23-Apr-05 13:18 
GeneralRe: Create a class an object dinamically with DataRow fields and values Pin
machocr23-Apr-05 20:19
machocr23-Apr-05 20:19 
GeneralPocket PC mulitplayer Pin
Anonymous23-Apr-05 13:12
Anonymous23-Apr-05 13:12 
QuestionAssembly version? Pin
damir_tk23-Apr-05 13:11
damir_tk23-Apr-05 13:11 
AnswerRe: Assembly version? Pin
turbochimp23-Apr-05 17:29
turbochimp23-Apr-05 17:29 
GeneralRe: Assembly version? Pin
damir_tk23-Apr-05 23:24
damir_tk23-Apr-05 23:24 
GeneralRe: Assembly version? Pin
leppie24-Apr-05 4:40
leppie24-Apr-05 4:40 
GeneralRe: Assembly version? Pin
turbochimp24-Apr-05 7:10
turbochimp24-Apr-05 7:10 
GeneralRe: Assembly version? Pin
damir_tk24-Apr-05 8:12
damir_tk24-Apr-05 8:12 
Questionupdate problems? Pin
Snowjim23-Apr-05 13:04
Snowjim23-Apr-05 13:04 
GeneralReading nodes from an XML file please help! Pin
Anonymous23-Apr-05 12:41
Anonymous23-Apr-05 12:41 
GeneralRe: Reading nodes from an XML file please help! Pin
DavidNohejl23-Apr-05 12:59
DavidNohejl23-Apr-05 12:59 
GeneralAddContextMenuItem multiple files Pin
Clickok23-Apr-05 12:32
Clickok23-Apr-05 12: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.