Página 1 de 1

SqlCommand vs Datasets

Publicado: Mié Nov 14, 2007 1:38 pm
por Pedro Sousa e Faro
Hi
I'm writing a Xailer apps to use MS SQL SERVER (via ADO).
What is better to do in Save operations.
Using SQL command (Insert , UPDATE ..) to save data in the Database or use
DATASETs fields and save data with addnew , Edit and Update properties.
Since the app with works in a MultiUser environment what is your advise ?
Best regards
Pedro Faro

SqlCommand vs Datasets

Publicado: Mié Nov 14, 2007 4:52 pm
por ignacio
Pedro,
The two methods are the same, but only the AddNew will automatically
refresh the underlying dataset.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Pedro Faro" <psfaro@shi.pt> escribió en el mensaje
news:473aec85$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi
>
> I'm writing a Xailer apps to use MS SQL SERVER (via ADO).
>
> What is better to do in Save operations.
>
> Using SQL command (Insert , UPDATE ..) to save data in the Database or use
> DATASETs fields and save data with addnew , Edit and Update properties.
>
> Since the app with works in a MultiUser environment what is your advise ?
>
> Best regards
>
> Pedro Faro
>
>
>