更多我使用這個,當我創建一個命令:Command.StatementCompleted被調用一次
command.CommandType = CommandType.StoredProcedure;
command.StatementCompleted += new StatementCompletedEventHandler(statementCompleted);
但我的方法「statementCompleted」被稱爲不止一次了相同的命令。
有人有一個想法......
感謝
什麼是你的sql命令文本? – ChrisBint