Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use the server date?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00819947
Message ID:
00820898
Vues:
19
>>Just code it into your SQL statement that you're sending to the server?
>
>I'm using MM.NET data binding which uses CommandBuilder deep inside the framework. If this is my only solution, I'll just use trigger or send the datetime in from the client.

Ah yes, that is always a problem. <g>

Another alternative would be to actually return the datetime from the server and write it that way. IOW, call a stored proc to return the value and then add it into your SQL.

Question begs though - why would you worry about the time being different?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform