Click here to Skip to main content
15,892,298 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Entity Framework Pin
Idle_Force30-May-12 19:29
Idle_Force30-May-12 19:29 
GeneralRe: Entity Framework Pin
Richard MacCutchan30-May-12 21:51
mveRichard MacCutchan30-May-12 21:51 
GeneralRe: Entity Framework Pin
Pete O'Hanlon29-May-12 0:48
mvePete O'Hanlon29-May-12 0:48 
GeneralRe: Entity Framework Pin
Idle_Force29-May-12 10:16
Idle_Force29-May-12 10:16 
GeneralRe: Entity Framework Pin
Pete O'Hanlon29-May-12 10:22
mvePete O'Hanlon29-May-12 10:22 
GeneralRe: Entity Framework Pin
Idle_Force29-May-12 14:35
Idle_Force29-May-12 14:35 
GeneralRe: Entity Framework Pin
Pete O'Hanlon29-May-12 22:03
mvePete O'Hanlon29-May-12 22:03 
Questionprocedure Pin
nitish_0724-May-12 18:14
nitish_0724-May-12 18:14 
I have a button in my form and on click of that button I am writing this code....
<pre>
OdbcCommand cmd ;
cmd = new OdbcCommand("abc", cn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.ExecuteNonQuery();


I have made a procedure named abc in database which is returning only one row from login table..So i am just checking that on click of that button my procedure should run but while debugging when i come to cmd.ExecuteQuery() it throws following error..



ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.0.77-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'abc()' at line 1.


So plz sort out the problem as soon as possible...

AnswerRe: procedure Pin
Richard MacCutchan24-May-12 22:20
mveRichard MacCutchan24-May-12 22:20 
AnswerRe: procedure Pin
Pete O'Hanlon24-May-12 22:26
mvePete O'Hanlon24-May-12 22:26 
GeneralRe: procedure Pin
nitish_0724-May-12 23:18
nitish_0724-May-12 23:18 
GeneralRe: procedure Pin
Dave Kreskowiak25-May-12 1:16
mveDave Kreskowiak25-May-12 1:16 
AnswerRe: procedure Pin
frostcox25-May-12 11:18
frostcox25-May-12 11:18 
GeneralRe: procedure Pin
nitish_0725-May-12 20:35
nitish_0725-May-12 20:35 
GeneralRe: procedure Pin
Richard MacCutchan25-May-12 23:01
mveRichard MacCutchan25-May-12 23:01 
GeneralRe: procedure Pin
nitish_0725-May-12 23:17
nitish_0725-May-12 23:17 
GeneralRe: procedure Pin
Pete O'Hanlon25-May-12 23:23
mvePete O'Hanlon25-May-12 23:23 
GeneralRe: procedure Pin
nitish_0725-May-12 23:27
nitish_0725-May-12 23:27 
GeneralRe: procedure Pin
Richard MacCutchan26-May-12 0:13
mveRichard MacCutchan26-May-12 0:13 
GeneralRe: procedure Pin
nitish_0726-May-12 4:51
nitish_0726-May-12 4:51 
GeneralRe: procedure Pin
Richard MacCutchan26-May-12 5:11
mveRichard MacCutchan26-May-12 5:11 
GeneralRe: procedure Pin
nitish_0726-May-12 6:39
nitish_0726-May-12 6:39 
GeneralRe: procedure Pin
Richard MacCutchan26-May-12 7:33
mveRichard MacCutchan26-May-12 7:33 
GeneralRe: procedure Pin
Manfred Rudolf Bihy27-May-12 23:32
professionalManfred Rudolf Bihy27-May-12 23:32 
QuestionLightSwitch Forum Pin
Albert van Peppen23-May-12 2:22
professionalAlbert van Peppen23-May-12 2:22 

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.