Click here to Skip to main content
16,005,734 members
Home / Discussions / C#
   

C#

 
GeneralRe: mouse position from Non client area Pin
Stefan Troschuetz23-Sep-04 1:57
Stefan Troschuetz23-Sep-04 1:57 
GeneralRe: mouse position from Non client area Pin
Ajmoda23-Sep-04 2:03
Ajmoda23-Sep-04 2:03 
Questionwhat is this error Pin
ydderf223-Sep-04 0:18
ydderf223-Sep-04 0:18 
AnswerRe: what is this error Pin
exhaulted23-Sep-04 0:30
exhaulted23-Sep-04 0:30 
AnswerRe: what is this error Pin
sreejith ss nair23-Sep-04 0:43
sreejith ss nair23-Sep-04 0:43 
GeneralRe: what is this error Pin
Heath Stewart23-Sep-04 5:58
protectorHeath Stewart23-Sep-04 5:58 
GeneralRe: what is this error Pin
sreejith ss nair23-Sep-04 17:51
sreejith ss nair23-Sep-04 17:51 
AnswerRe: what is this error Pin
Dave Kreskowiak23-Sep-04 0:43
mveDave Kreskowiak23-Sep-04 0:43 
I'm no Oracle expert but it looks like your SQL statement isn't valid? I don't know, so the first thing I would try is verifying that your SQL statement is formatted correctly. From what you posted, it looks like your trying to set the value of emp_id to the value of the Text property of a control on your form called co_emid. Is this correct?

If so, then you'll have to change your statement around to something like this:
strSQL = "INSERT Products VALUES (emp_id(" + co_emid.Text + "))";


But, I recommend NOT using string concatentation to put any SQL statement together. I would suggest reading up on using stored procedures on the Oracle server and using parameterized queries to execute and pass parameters, like your emp_id value to them.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

AnswerRe: what is this error Pin
Michael P Butler23-Sep-04 0:57
Michael P Butler23-Sep-04 0:57 
GeneralRuntime.getRuntime().addShutdownHook(new Hook()) Pin
devvvy22-Sep-04 23:45
devvvy22-Sep-04 23:45 
GeneralRe: Runtime.getRuntime().addShutdownHook(new Hook()) Pin
exhaulted23-Sep-04 0:27
exhaulted23-Sep-04 0:27 
GeneralRe: Runtime.getRuntime().addShutdownHook(new Hook()) Pin
devvvy23-Sep-04 3:48
devvvy23-Sep-04 3:48 
GeneralRe: Runtime.getRuntime().addShutdownHook(new Hook()) Pin
LongRange.Shooter23-Sep-04 8:24
LongRange.Shooter23-Sep-04 8:24 
GeneralRe: Runtime.getRuntime().addShutdownHook(new Hook()) Pin
devvvy24-Sep-04 5:59
devvvy24-Sep-04 5:59 
Generaltextbox in a webpage problem Pin
Sakkijha22-Sep-04 23:28
Sakkijha22-Sep-04 23:28 
GeneralRe: textbox in a webpage problem Pin
Dave Kreskowiak23-Sep-04 0:32
mveDave Kreskowiak23-Sep-04 0:32 
GeneralRe: textbox in a webpage problem Pin
sreejith ss nair23-Sep-04 0:38
sreejith ss nair23-Sep-04 0:38 
GeneralRe: textbox in a webpage problem Pin
shambho23-Sep-04 4:21
shambho23-Sep-04 4:21 
GeneralMinimizing a form Pin
exhaulted22-Sep-04 23:25
exhaulted22-Sep-04 23:25 
GeneralRe: Minimizing a form Pin
sreejith ss nair23-Sep-04 1:15
sreejith ss nair23-Sep-04 1:15 
GeneralRe: Minimizing a form Pin
eggie523-Sep-04 2:16
eggie523-Sep-04 2:16 
GeneralPlease Help Pin
exhaulted22-Sep-04 23:13
exhaulted22-Sep-04 23:13 
GeneralRe: Please Help Pin
sreejith ss nair23-Sep-04 1:35
sreejith ss nair23-Sep-04 1:35 
GeneralRe: Please Help Pin
exhaulted23-Sep-04 3:09
exhaulted23-Sep-04 3:09 
GeneralRe: Please Help Pin
sreejith ss nair23-Sep-04 3:24
sreejith ss nair23-Sep-04 3:24 

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.