if ( dsCommand == null )
{
throw new System.ObjectDisposedException( GetType().FullName );
}            
//
// Get the command and update the database
//
dsCommand.UpdateCommand = GetUpdateCommand();
            
dsCommand.Update(taskDetailData, TaskDetailData.TASKDETAIL_TABLE);
//
// Check for table errors to see if the update failed.
//
在dsCommand.Update(taskDetailData, TaskDetailData.TASKDETAIL_TABLE);这行调式出现以下信息
未处理的“System.InvalidOperationException”类型的异常出现在 system.data.dll 中。其他信息: 当传递具有新行的 DataRow 集合时,更新要求有效的 InsertCommand。
我是update要insertcommand有什么用啊