Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Why Passing simple DateTime parameter from C# To Sql Store Procedure (without Converting in String Format) not always give desired Result..?

It gives exact result if we pass DataTime in fallowing format var sqlDateFrom = dt_From.Date.ToString("yyyy-MM-dd HH:mm:ss") But it gives Diffrent Ouptput when we pass DateTime without convrting it into string.

user-image
Question ajoutée par Javed Ahmad , Senior Developer , HCL Technologies Ltd
Date de publication: 2017/05/05
Muhammad Jawad
par Muhammad Jawad , Deputy Manager (MIS) , AL-NOOR GROUP MDF BOARD

Yeah it has the accurate value thats why we use.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?