reuse repeater with new recordset

B

Bob

I have a repeater that is populated with a select *. Above the
repeater I have a series of dropdowns that allow the user to select a
different search criteria. Now my question is how can I reuse the
repeater and populate it with the new data.

This code populates the repeater with the initial data.

Dim myDS As New DataSet

Dim dAdapter As New SqlDataAdapter(SPAppEvents, connStr)

dAdapter.Fill(myDS)

textBased.DataSource = myDS.Tables(0).DefaultView

textBased.DataBind()

dAdapter.Dispose()

myDS.Dispose()

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,079
Messages
2,570,575
Members
47,207
Latest member
HelenaCani

Latest Threads

Top