更多我使用这个,当我创建一个命令:Command.StatementCompleted被调用一次
command.CommandType = CommandType.StoredProcedure;
command.StatementCompleted += new StatementCompletedEventHandler(statementCompleted);
但我的方法“statementCompleted”被称为不止一次了相同的命令。
有人有一个想法......
感谢
什么是你的sql命令文本? – ChrisBint