Home >Database >Mysql Tutorial >C#连接mysql然后查询存储过程

C#连接mysql然后查询存储过程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:33:051523browse

mysqlsqlc#

C#连接mysql 然后查询一个名为userinfo的存储过程,传参5

sql:call userinfo(5);

这个是查询用户的信息的存储过程,执行这个sql,然后获得查询出来的结果,并且输出。

有没有大神写个demo我学习一下,谢谢!

//正常执行sql语句我会,不会查存储过程

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn