连接串是
connectionString="Server=serverip; Port=3306; Database=databasename; Uid=username; Pwd='password';use procedure bodies=false"
其中的use procedure bodies是什么意思,还有没有其他参数??
connectionString="Server=serverip; Port=3306; Database=databasename; Uid=username; Pwd='password';use procedure bodies=false"
其中的use procedure bodies是什么意思,还有没有其他参数??
Default : true
Description : Setting this option to false indicates that the user connecting to the database does not have the SELECT privileges for the mysql.proc (stored procedures) table. When to set to false, Connector/NET will not rely on this information being available when the procedure is called. Because Connector/NET will be unable to determine this information, you should explicitly set the types of the all the parameters before the call and the parameters should be added to the command in the exact same order as they appear in the procedure definition. This option was added in Connector/NET 5.0.4 and Connector/NET 1.0.10. http://dev.mysql.com/doc/refman/5.0/en/connector-net-programming-connection-options.html
否则,你可以试试,呵呵。
希望大家在自己解决了问题后,把答案贴出来。