Change Connection String(ADO) in Run-Time in vb.net
hi
I want to change connection string after load report file in vb.net
code please
I want to change connection string after load report file in vb.net
code please
Comments
rep.SetParameterValue("SQL_rysys", Conexion)
If rep.Dictionary.Connections.Count > 0 Then
rep.Dictionary.Connections(0).ConnectionString = Conexion
rep.Dictionary.Connections(0).ConnectionStringExpression = "[SQL_rysys]"
rep.Dictionary.Connections(0).CommandTimeout = 60
End If
End Sub