Check this out: https://msdn.microsoft.com/en-us/library/System.Data.SqlClient.SqlConnection%28v=vs.110%29.aspx[^] https://msdn.microsoft.com/en-us/library/System.Data.SqlClient.SqlConnection%28v=vs.110%29.aspx[^] I believe the connection is done asynchronously, thus you need to listen to the "StateChange" event. Also note that from your code, it seems you're not using 'db' at all - so you can actually remove that line. Best, John
-- LogWizard - Log Viewing can be a joy!