I needed the dataset in order to create the command object. I don't know how to do without it. It's true, though, that I never use it afterward.