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
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