Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

populating a datalist

Posted on 2004-09-22
1
Medium Priority
?
249 Views
Last Modified: 2012-05-05
Is it possible to populate a datalist from the listbox on the page ?
thanks in advance
0
Comment
Question by:yalamanchir
1 Comment
 
LVL 10

Accepted Solution

by:
123654789987 earned 1500 total points
ID: 12130453
Try this..

Dim dataTable1 as DataTable

dataTable1 = listBox1.DataSource

DataList1.DataSource = dataTable1
DataList1.DataBind
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Loops Section Overview
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month9 days, 19 hours left to enroll

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question