繁体   English   中英

插入到SQL Server存储过程中成为vb.net 2003中的命令

[英]Insert into SQL Server stored procedure to be a command in vb.net 2003

我在SQL Server中有一个将数据插入表中的存储过程。

关于如何使用DataGrid在vb.net 2003中使其成为SQL命令的任何想法?

试试这个。

sqlConnection conn = new sqlConnection("Connection String");
conn.Open();

        sqlCommand command = new sqlCommand("Functionname", conn);
        command.CommandType = CommandType.StoredProcedure;
....
....
....
....

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM