Hi
I have a problem with a repeater and a data connection.
In my Page_Load, I have the following code:
Dim connectionStrin g As String =
WebConfig.Conne ctionString
Dim connection As SqlConnection = New
SqlConnection(c onnectionString )
Dim adapter As SqlDataAdapter = New
SqlDataAdapter( "SELECT applicationID FROM pvtProductAppli cation WHERE
productID = " + Request.QuerySt ring("prodId"), connection)
Dim dataSet As DataSet = New DataSet()
connection.Open ()
adapter.Fill(da taSet)
ApplicationRepe ater.DataSource = dataSet
ApplicationRepe ater.DataBind() /* error here */
connection.Clos e()
and I have a ApplicationRepe ater_ItemCreate d that also opens a data
connection and closes it. The error is raised as indicated above.
Can someone please help??
Thanks, Mark