I'm thinking about using the SQLHelper from Microsoft's application block. The one issue I have is a DataTable can have inserted rows, updated rows, and deleted rows. Currently, I have command objects for each that call stored procedures. I use the Update method of the DataAdapter to write the data. My question is: Should I continue this route or use a foreach and call the appropriate method of the SQLHelper (excutenonquery, excutescalar) or does it even matter?
Thanks,
Dan
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement