0

I have an array list on my server side that i want to use on my client side as an array how can i do this.

1 Answer 1

1

You can return it as JavaScript Object Notation ( JSON ) see this question here on StackOverflow on "How can I encode an Array in VB.NET to JSON?".

To quote @bdukes answer:

Dim serializer as New JavaScriptSerializer()
Dim arrayJson as String = serializer.Serialize(myArray)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.