473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VB.NET <webmethod> Returning a string() array

adh
In c# you can return a String() but in VB.NET2005 it does not work (the
webservice test sends to the error page).
See MS AJAX Controls Toolkit.Autocomplete which demands a String()
reply.

I prefer doing it in VB but how?

Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***
Sep 24 '07 #1
2 3205
What error are you getting. AFAIK, returning a string array from a webmethod
should not result in any errors.

--
Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com
"adh" wrote:
In c# you can return a String() but in VB.NET2005 it does not work (the
webservice test sends to the error page).
See MS AJAX Controls Toolkit.Autocomplete which demands a String()
reply.

I prefer doing it in VB but how?

Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***
Sep 24 '07 #2
Adh,

I don't know if it is still there in VB2005, version 2003 started always
with a kind of Hello World sample, so it will be weird if it does not work
anymore.

Cor
Sep 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Bob Rock | last post by:
Hello, when serializing an array of elements of a class Classname using XmlSerializer.Serialize() I get an XML like the following: <?xml version="1.0"> <ArrayOfClassname> ....... ..........
7
by: Drew Berkemeyer | last post by:
I've encounted a pretty strange problem and I'm not quite sure what to make of it. I have a web service that consumes an XML file as well as a few other parameters. This web service works fine...
8
by: Tiraman | last post by:
Hi, i have a class with few functions which some of them are public. why not to put the <WebMethod()> in front of each public function as a concept ? -- Best Regards ,
5
by: Earl Damron | last post by:
Hello All. Is it possible to create a Web service with C# that returns a response with two different elements in the SOAP Body? I'm thinking of something like this: <?xml version="1.0"...
6
by: Ambuj | last post by:
Can anyone please help me understand why this is not working?!?! I have got this code in a C# Web service project, the project compiles correctly but I can't see the description when I access the...
0
by: Michael Jackson | last post by:
I have attempted to mark up a service and it's methods so that it doesn't require the SOAPAction HTTP header to resolve the methods being called, this is done from first element in <SOAP-ENV:Body>...
2
by: Jay | last post by:
I have a web app that uses some javaScript behaviors (using the createCallOptions method) that go off and call webmethods and return/ display data on the web page. When I introduced the...
2
by: weird0 | last post by:
I am testing a webservice locally that connects to BankingDb and check the function public bool CheckPincode(string Pincode) { SqlConnection sqlConnection1 =new...
0
by: arunairs | last post by:
Hi, I am developing a web service which will be used in an intranet. I would like one of its methods to return a List<Customer>. Eventhough my web service contains a method : public...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.