Click here to Skip to main content
15,915,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: Two datatables in one???? Pin
Giorgi Dalakishvili3-Jan-08 8:05
mentorGiorgi Dalakishvili3-Jan-08 8:05 
GeneralRe: Two datatables in one???? Pin
NewToAspDotNet3-Jan-08 8:55
NewToAspDotNet3-Jan-08 8:55 
GeneralRe: Two datatables in one???? Pin
Giorgi Dalakishvili3-Jan-08 9:23
mentorGiorgi Dalakishvili3-Jan-08 9:23 
AnswerRe: Two datatables in one???? Pin
Christian Graus3-Jan-08 10:29
protectorChristian Graus3-Jan-08 10:29 
Generalanonymous delegates with dynamic code Pin
Goncalo Oliveira3-Jan-08 7:14
Goncalo Oliveira3-Jan-08 7:14 
GeneralRe: anonymous delegates with dynamic code Pin
Not Active3-Jan-08 9:09
mentorNot Active3-Jan-08 9:09 
GeneralRe: anonymous delegates with dynamic code Pin
Goncalo Oliveira3-Jan-08 14:38
Goncalo Oliveira3-Jan-08 14:38 
GeneralRe: anonymous delegates with dynamic code Pin
Skippums3-Jan-08 15:14
Skippums3-Jan-08 15:14 
So, if I understand correctly, you have an object, call it B, who has the code (in string format) to run when some event in object A is fired, right? I don't understand why you can't have obj B simply add an event listener to the event of obj A. It sounds like you want to dynamically run some annonymous code from B that you won't know until runtime, but if at runtime you know the code, then why can't you just do A.Click += new ClickEventHandler(B.DoWhatever);? If this is not what you need (or want), then please explain a bit more on why exactly you need to have the php exec command in C#.

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: anonymous delegates with dynamic code Pin
Goncalo Oliveira3-Jan-08 16:52
Goncalo Oliveira3-Jan-08 16:52 
GeneralRe: anonymous delegates with dynamic code Pin
techieboi3-Jan-08 19:27
techieboi3-Jan-08 19:27 
GeneralRe: anonymous delegates with dynamic code Pin
Goncalo Oliveira3-Jan-08 22:15
Goncalo Oliveira3-Jan-08 22:15 
GeneralRe: anonymous delegates with dynamic code Pin
Skippums4-Jan-08 3:56
Skippums4-Jan-08 3:56 
GeneralRe: anonymous delegates with dynamic code Pin
Goncalo Oliveira4-Jan-08 5:27
Goncalo Oliveira4-Jan-08 5:27 
QuestionOperator '||' cannot be applied to operands of type 'string' and 'string' Pin
Jugnu3-Jan-08 7:08
Jugnu3-Jan-08 7:08 
GeneralRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
Viktor Nilsson3-Jan-08 7:18
Viktor Nilsson3-Jan-08 7:18 
GeneralRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
Not Active3-Jan-08 9:01
mentorNot Active3-Jan-08 9:01 
JokeRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
CPallini3-Jan-08 9:55
mveCPallini3-Jan-08 9:55 
GeneralRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
Guffa3-Jan-08 11:04
Guffa3-Jan-08 11:04 
GeneralRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
Pete O'Hanlon3-Jan-08 11:12
mvePete O'Hanlon3-Jan-08 11:12 
GeneralRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
MarkB7773-Jan-08 12:10
MarkB7773-Jan-08 12:10 
GeneralRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
Russell Jones3-Jan-08 22:56
Russell Jones3-Jan-08 22:56 
GeneralRe: Operator '||' cannot be applied to operands of type 'string' and 'string' Pin
Pete O'Hanlon3-Jan-08 9:59
mvePete O'Hanlon3-Jan-08 9:59 
GeneralControl the setup directory for a .Net Setup package Pin
Russell Jones3-Jan-08 5:48
Russell Jones3-Jan-08 5:48 
GeneralRe: Control the setup directory for a .Net Setup package Pin
Skippums3-Jan-08 12:30
Skippums3-Jan-08 12:30 
GeneralMemory addressing Pin
damianrda3-Jan-08 5:37
damianrda3-Jan-08 5:37 

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.