I put the odbc connection into a infopath button code insted of write in a web Service. but show up error :
Request for the permission of type 'System.Data.Odbc.OdbcPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Any one has experience to connect a database through ODBC without web Service?
Thank you!