Click here to Skip to main content
15,906,624 members
Home / Discussions / C#
   

C#

 
Questionobject reference not set to an instance of an object Pin
a.fatemeh28-May-12 12:16
a.fatemeh28-May-12 12:16 
AnswerRe: object reference not set to an instance of an object Pin
Manfred Rudolf Bihy28-May-12 12:36
professionalManfred Rudolf Bihy28-May-12 12:36 
GeneralRe: object reference not set to an instance of an object Pin
a.fatemeh28-May-12 12:52
a.fatemeh28-May-12 12:52 
GeneralRe: object reference not set to an instance of an object Pin
Manfred Rudolf Bihy29-May-12 1:34
professionalManfred Rudolf Bihy29-May-12 1:34 
AnswerRe: object reference not set to an instance of an object Pin
bishu_Visu28-May-12 18:24
bishu_Visu28-May-12 18:24 
Questiondatabase on wp7 Pin
heba abu ghaleih22 28-May-12 0:42
heba abu ghaleih22 28-May-12 0:42 
AnswerRe: database on wp7 Pin
Pete O'Hanlon28-May-12 1:51
mvePete O'Hanlon28-May-12 1:51 
AnswerRe: database on wp7 Pin
jschell28-May-12 7:41
jschell28-May-12 7:41 
GeneralRe: database on wp7 Pin
heba abu ghaleih22 28-May-12 8:12
heba abu ghaleih22 28-May-12 8:12 
GeneralRe: database on wp7 Pin
jschell30-May-12 13:40
jschell30-May-12 13:40 
QuestionPDF Editing Pin
candogu27-May-12 21:44
candogu27-May-12 21:44 
AnswerRe: PDF Editing Pin
AmitGajjar27-May-12 22:00
professionalAmitGajjar27-May-12 22:00 
AnswerRe: PDF Editing Pin
CodingLover28-May-12 17:57
CodingLover28-May-12 17:57 
Questionfrom array byte to bitmap Pin
heba abu ghaleih22 26-May-12 18:30
heba abu ghaleih22 26-May-12 18:30 
AnswerRe: from array byte to bitmap Pin
OriginalGriff26-May-12 21:15
mveOriginalGriff26-May-12 21:15 
GeneralRe: from array byte to bitmap Pin
BobJanova28-May-12 0:09
BobJanova28-May-12 0:09 
GeneralRe: from array byte to bitmap Pin
nortee28-May-12 11:00
nortee28-May-12 11:00 
QuestionC# code error Pin
nitish_0726-May-12 8:30
nitish_0726-May-12 8:30 
I have a button in my form and on click of that button I am writing this code....
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 tell me what should be the problem.
AnswerRe: C# code error Pin
Luc Pattyn26-May-12 8:49
sitebuilderLuc Pattyn26-May-12 8:49 
AnswerRe: C# code error Pin
OriginalGriff26-May-12 21:18
mveOriginalGriff26-May-12 21:18 
AnswerRe: C# code error Pin
Richard MacCutchan26-May-12 21:29
mveRichard MacCutchan26-May-12 21:29 
AnswerRe: C# code error Pin
AmitGajjar27-May-12 19:47
professionalAmitGajjar27-May-12 19:47 
Questioncan anyone help me plz? Pin
lida zar26-May-12 8:00
lida zar26-May-12 8:00 
AnswerRe: can anyone help me plz? Pin
Abhinav S26-May-12 8:07
Abhinav S26-May-12 8:07 
AnswerRe: can anyone help me plz? Pin
Dave Kreskowiak26-May-12 10:38
mveDave Kreskowiak26-May-12 10:38 

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.