Hi Hilary,
could you please explain more about your suggested fix? You mean to say, we can use Data Connection that we created through UI in code?
Below is my exception message that i am receiving when opening connection through C# code on Form load event:
[System.Security.SecurityException] = {"Request for the permission of ...