I am using OLEDB connection in script componenet vb code. I am getting cast conversion error. I am using the following code:
conMgr = Me.Connections.MyConnection
sqlConn = CType(conMgr.AcquireConnection(Nothing), SqlConnection)
I got to know that the script component support only ADO.NET. Please let me know how to change this code to support ADO.NET.
Thank you for the help.