Click here to Skip to main content
15,883,809 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionThe code of closing X and opening new form Pin
Iamateur27-May-12 22:11
Iamateur27-May-12 22:11 
AnswerRe: The code of closing X and opening new form Pin
Eddy Vluggen5-Jun-12 1:08
professionalEddy Vluggen5-Jun-12 1:08 
QuestionC# code problem Pin
nitish_0726-May-12 20:53
nitish_0726-May-12 20:53 
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 would be the problem..
AnswerRe: C# code problem repost Pin
Richard MacCutchan26-May-12 21:35
mveRichard MacCutchan26-May-12 21:35 
GeneralRe: C# code problem repost Pin
nitish_0726-May-12 21:46
nitish_0726-May-12 21:46 
GeneralRe: C# code problem repost Pin
Richard MacCutchan26-May-12 21:55
mveRichard MacCutchan26-May-12 21:55 
AnswerRe: C# code problem Pin
Eddy Vluggen27-May-12 8:50
professionalEddy Vluggen27-May-12 8:50 
GeneralRe: C# code problem Pin
Richard Andrew x6427-May-12 11:46
professionalRichard Andrew x6427-May-12 11:46 
AnswerRe: C# code problem Pin
Manfred Rudolf Bihy30-May-12 2:20
professionalManfred Rudolf Bihy30-May-12 2:20 
GeneralRe: C# code problem Pin
Pete O'Hanlon30-May-12 2:30
mvePete O'Hanlon30-May-12 2:30 
QuestionWindows security management Pin
Bobgreen221-May-12 16:48
Bobgreen221-May-12 16:48 
AnswerRe: Windows security management Pin
JohnPayton21-May-12 18:16
JohnPayton21-May-12 18:16 
AnswerRe: Windows security management Pin
RobCroll21-May-12 20:19
RobCroll21-May-12 20:19 
AnswerRe: Windows security management Pin
Dave Kreskowiak22-May-12 2:08
mveDave Kreskowiak22-May-12 2:08 
Questionabout setup Pin
Rahul GS13-May-12 19:46
Rahul GS13-May-12 19:46 
AnswerRe: about setup Pin
Dave Kreskowiak14-May-12 2:08
mveDave Kreskowiak14-May-12 2:08 
AnswerRe: about setup Pin
Abhinav S21-May-12 19:57
Abhinav S21-May-12 19:57 
QuestionData backup system code in vb.6.0 Pin
Nelson Dsilva9-May-12 1:07
Nelson Dsilva9-May-12 1:07 
AnswerRe: Data backup system code in vb.6.0 Pin
Dave Kreskowiak9-May-12 6:45
mveDave Kreskowiak9-May-12 6:45 
QuestionMoving Data from one form to another Pin
Squalllllll8-May-12 7:15
Squalllllll8-May-12 7:15 
AnswerRe: Moving Data from one form to another Pin
JohnPayton8-May-12 13:48
JohnPayton8-May-12 13:48 
GeneralRe: Moving Data from one form to another Pin
Suhas S kulkarni13-May-12 18:39
Suhas S kulkarni13-May-12 18:39 
QuestionProperties for Button on selection by "TAB", clicked & when app loses focus Pin
All Time Programming1-May-12 3:22
All Time Programming1-May-12 3:22 
AnswerRe: Properties for Button on selection by "TAB", clicked & when app loses focus Pin
Dave Kreskowiak1-May-12 4:15
mveDave Kreskowiak1-May-12 4:15 
AnswerRe: Properties for Button on selection by "TAB", clicked & when app loses focus Pin
All Time Programming3-May-12 20:38
All Time Programming3-May-12 20: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.