populating a datalist

Is it possible to populate a datalist from the listbox on the page ?
thanks in advance
yalamanchirAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
123654789987Connect With a Mentor Commented:
Try this..

Dim dataTable1 as DataTable

dataTable1 = listBox1.DataSource

DataList1.DataSource = dataTable1
DataList1.DataBind
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.