In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

SqlCommand vs Datasets

Xailer English public forum
Responder
Pedro Sousa e Faro
Mensajes: 91
Registrado: Mié May 30, 2007 5:25 pm

SqlCommand vs Datasets

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

SqlCommand vs Datasets

Mensaje 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
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder