Click here to Skip to main content
15,881,866 members
Home / Discussions / Windows Forms
   

Windows Forms

 
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 
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 
There is another faux pas OP committed. Not reading the MSDN documentation on EXEC / EXECUTE diligently:


MSDN[^] wrote:

SQL
[ { EXEC | EXECUTE } ]
    { 
      [ @return_status = ]
      { module_name [ ;number ] | @module_name_var } 
        [ [ @parameter = ] { value 
                           | @variable [ OUTPUT ] 
                           | [ DEFAULT ] 
                           }
        ]
      [ ,...n ]
      [ WITH <execute_option> [ ,...n ] ]
    }
[;]

Execute a character string
{ EXEC | EXECUTE } 
    ( { @string_variable | [ N ]'tsql_string' } [ + ...n ] )
    [ AS { LOGIN | USER } = ' name ' ]
[;]

Execute a pass-through command against a linked server
{ EXEC | EXECUTE }
    ( { @string_variable | [ N ] 'command_string [ ? ]' } [ + ...n ]
        [ { , { value | @variable [ OUTPUT ] } } [ ...n ] ]
    ) 
    [ AS { LOGIN | USER } = ' name ' ]
    [ AT linked_server_name ]
[;]



Parenthesis () are only allowed when executing indirectly via a string variable or string literal.

Regards,

Manfred

"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
"Der Berg ruft!"
Me, 2012-05-24


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 
Questionhow do i create a report builder in a window form? Pin
neodeaths28-Apr-12 4:12
neodeaths28-Apr-12 4:12 

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.