Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 SQL Server 中有一个将数据插入表的存储过程。
关于如何在 vb.net 2003 中使用 datagrid 使其成为 SQL 命令的任何想法?
试试这个,
sqlConnection conn = new sqlConnection("Connection String"); conn.Open(); sqlCommand command = new sqlCommand("Functionname", conn); command.CommandType = CommandType.StoredProcedure; .... .... .... ....