TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sajid Khan
NA
56
11.4k
bind multidimensional array of string into dropdownlist?
Jan 10 2017 1:23 AM
I have web service contains some data in json format. I need to get the data into string and bind with the dropdownlist. I need to do it in multidimensional array of string. I tried but dropdownlist didn't populate the data.
Here is the code:
Dim service As New WebSocieties.w_society_detail
Dim wb As New web_society.w_society_detail
Dim str_society__type, str_society As String
str_society__type = wb.mp_society_type("nic", "MPCOOP")
Dim array_society_type As String() = str_society__type.Split("}"c)
Dim matrix As [String]()() = New [String](array_society_type.Length - 1)() {}
For i As Integer = 0 To array_society_type.Length - 1
matrix(i) = array_society_type(i).Split(","c)
ddlSocieties.Items.Add(matrix(i).ToString)
Next
ddlSocieties.DataBind()
but Dropdownlist populated system.string[]. Can anyone tell where is the mistake.
Reply
Answers (
1
)
Microsoft Sync Framework for DB
get parent id from parentTable to childTable