Hi,
Today a connection is being openned for each module in the page. I don't want to do this.
I want to use a unique connection in each request. To do this I changed the PortalModuleControl class to receive my connection. Ok, it's working. But in the web controls the connection is being closed when passing by DataBind method.
Can anyone give me a clue?
Dim links As New PortalLagoinha.Net.LinkDB(Connection) 'Here I pass the connection
myDataList.DataSource = links.GetLinks(ModuleId)
myDataList.DataBind() 'Here the connection is being closed :-(
Thanks,
Aline.