|
No I will give that a try thanks
|
|
|
|
|
Passing back ArrayList works fine if the web service is in the same project as the calling code but doesn't work if I've built a separate application to call the method passing it back.
I have to get the result by assigning it as Object[] .
If I use List<string> as my return type, in my calling application it only works if I assign the return value to string[] . This works fine but I can't help thinking that my calling application should be using the actual return type.
Am I missing something?
This is the sample response from the web service:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns="MyWebService">
<string>string</string>
<string>string</string>
</ArrayOfString>
So the web service is expecting to be able to send back "ArrayOfString". Why can I not assign the return value to List<string>?
|
|
|
|
|
How do I use C# to run another exe program? like in C we can use system function, is there something similar in C# ??
Thanks,
Samuel
|
|
|
|
|
This question has been asked a number of times already, have you searched the forums? A quick google search for "C# run another program" reveals the info you need.
|
|
|
|
|
Would it have hurt you to have given an informative reply. For sure he could have googled it... you obviously did to know for sure that it was there... Could you not have at least put a link to the first result?
|
|
|
|
|
Catch a man a fish, you've fed him for a day. Teach a man to fish, you've fed him for life.
|
|
|
|
|
Hear hear!
-Larantz-
|
|
|
|
|
How to catch fish? Plz send codes.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
|
|
|
|
|
malcolm!
this ur professor from university. i have a doubt on ur ethical sensual natures. u must no post my homowork on the cpiansex. i tell class u must no post fishing homoworks on the cians next time i bend u over bare buttocks and spank u in front of all classes to shame u. black grade for u this semester. CURSES OF DARK SHIVA ON U ETERNITY EVERLASTING!!!1!
Sincelery yours, Computer Information conSciences Professor and grader, Sharada Ulhas
|
|
|
|
|
Light a man a fire you've warmed him for a night. Light a man on fire you've warmed him for life.
--
If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
|
|
|
|
|
Darn the luck. I was going to post a similar reply but then I thought maybe I shouldn't. You must be a sick individual, and yes it takes one to know one.
BDF
|
|
|
|
|
I've been justly acused of many things in my life. Normalcy has never been one of them.
--
If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
|
|
|
|
|
He did give him the information he needed. He told the man who to find the information on his own. Judah didn't ahve to Google this to find out if there was any info on it out there. It's a question that's been asked and answered a couple of million times already!
Like Judah said, answering a simple question directly only serves to answer that single question. Teaching him how to find his own answers answers many, many more questions than just the one.
|
|
|
|
|
Process.Start
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Look at the System.Diagnostics.Process class, it might be just what you're looking for.
Dave
|
|
|
|
|
|
System.Diagnostics.Process.Start(/*url or file goes here*/)
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
give me any reference about key tempring in c#
-- modified at 12:01 Thursday 6th September, 2007
tahir
|
|
|
|
|
I saved you from yourself, you should never post programming questions in the lounge. Your question still makes no sense, and you should consider being more polite in how you ask it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Perhaps you mean assembly tampering via key signing? Check out .NET key signing, search for it on your favorite search engine, there will be thousands of hits.
p.s. I realize English may not be your first language, but I'll warn you anyways: be more polite next time. "give me any reference" sounds too demanding. "Can you give me any reference..." would be better.
|
|
|
|
|
Hi
I want to do component: hierarchical dictionary based on DataGridView in C# (.NET 2.0 ). It don't has this component, I must do it same and I have problem with add rows to the DataGridView. When I add row like this: DataGridView row = new DataGridView(); this.DataGridview.Rows.Add(row); the new row will be add to the end of the table. I want to add the new row after the row which I click. It is posible ? if not, i will be must rewrite all rows and in the middle write my new rows. Is someone another posibility ?
I'm sory for my bad english.
Best regards
dift
I
|
|
|
|
|
You can insert a row at a specific index using the insert method:
this.DataGridview.Rows.Insert(2,row);
|
|
|
|
|
Can anyone tell me how to save the information stored in a DataTable component straigh to an Excel spread sheet?
I am trying to use the Excel COM object and not having much luck
Cheers
Give me strength, give me caffeine
|
|
|
|
|
|
Basically I did the same as you, but instead I just used to WriteXML function that I found inside the Access Tables collection, but changed the extension of the target file to a .xls
Give me strength, give me caffeine
|
|
|
|