Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding a variable to a variable name Pin
Pete O'Hanlon13-Jun-12 8:41
mvePete O'Hanlon13-Jun-12 8:41 
GeneralRe: Adding a variable to a variable name Pin
MichCl13-Jun-12 8:57
MichCl13-Jun-12 8:57 
GeneralRe: Adding a variable to a variable name Pin
Dave Kreskowiak13-Jun-12 9:18
mveDave Kreskowiak13-Jun-12 9:18 
AnswerRe: Adding a variable to a variable name Pin
BobJanova14-Jun-12 2:06
BobJanova14-Jun-12 2:06 
GeneralRe: Adding a variable to a variable name Pin
MichCl14-Jun-12 6:37
MichCl14-Jun-12 6:37 
GeneralRe: Adding a variable to a variable name Pin
Pete O'Hanlon14-Jun-12 7:05
mvePete O'Hanlon14-Jun-12 7:05 
QuestionIWebBrowser2 NewWindow3 doesn't track target frame name Pin
vwmberry9513-Jun-12 7:11
vwmberry9513-Jun-12 7:11 
QuestionPHP web service requires array but how to send correct array with C#? Pin
JD8613-Jun-12 7:01
JD8613-Jun-12 7:01 
Hello there!

I have a third party web service that was written in PHP. I've added the web reference to visual studio and the methods take an object[] as the parameter.

Now according to their documentation if I were to create this client in php it would look something like this for the object[]:
PHP
$params = array(
‘username’ => $user,
‘password’ => $pass,
‘param1’ => $param1_value,
);


How do I create this in C#? I can't do Dictionary<string, string=""> because I can't convert that to an object[].
AnswerMessage Closed Pin
13-Jun-12 8:51
WebMaster13-Jun-12 8:51 
GeneralRe: PHP web service requires array but how to send correct array with C#? Pin
JD8613-Jun-12 12:42
JD8613-Jun-12 12:42 
AnswerRe: PHP web service requires array but how to send correct array with C#? Pin
BobJanova14-Jun-12 2:08
BobJanova14-Jun-12 2:08 
GeneralRe: PHP web service requires array but how to send correct array with C#? Pin
JD8614-Jun-12 2:57
JD8614-Jun-12 2:57 
GeneralRe: PHP web service requires array but how to send correct array with C#? Pin
BobJanova14-Jun-12 3:51
BobJanova14-Jun-12 3:51 
GeneralRe: PHP web service requires array but how to send correct array with C#? Pin
JD8614-Jun-12 3:56
JD8614-Jun-12 3:56 
GeneralRe: PHP web service requires array but how to send correct array with C#? Pin
BobJanova14-Jun-12 5:54
BobJanova14-Jun-12 5:54 
GeneralRe: PHP web service requires array but how to send correct array with C#? Pin
JD8614-Jun-12 5:57
JD8614-Jun-12 5:57 
QuestionException has been thrown by the target of an invocation. Pin
MichCl13-Jun-12 6:01
MichCl13-Jun-12 6:01 
AnswerRe: Exception has been thrown by the target of an invocation. Pin
Pete O'Hanlon13-Jun-12 6:10
mvePete O'Hanlon13-Jun-12 6:10 
GeneralRe: Exception has been thrown by the target of an invocation. Pin
MichCl13-Jun-12 7:12
MichCl13-Jun-12 7:12 
Questioncheck if record already exists in database table Pin
Saidrex13-Jun-12 4:44
Saidrex13-Jun-12 4:44 
AnswerRe: check if record already exists in database table Pin
Eddy Vluggen13-Jun-12 4:53
professionalEddy Vluggen13-Jun-12 4:53 
GeneralRe: check if record already exists in database table Pin
Saidrex13-Jun-12 5:16
Saidrex13-Jun-12 5:16 
AnswerRe: check if record already exists in database table Pin
Pete O'Hanlon13-Jun-12 4:55
mvePete O'Hanlon13-Jun-12 4:55 
GeneralRe: check if record already exists in database table Pin
Saidrex13-Jun-12 5:17
Saidrex13-Jun-12 5:17 
Questionif BindingSource.Filter doesn't have results do... Pin
Saidrex13-Jun-12 3:29
Saidrex13-Jun-12 3:29 

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.