I'm using InfoPath 2007. I try to retrieve the records from SQL server and update the form's field but system prompt the following error when execute the code ''MyConnection.Open();''
System.Security.SecurityException
Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, ...