I have a stored procedure which input is from the type datetime
. i.e. I transfer the input
2014-01-13T16:55:03.370
,while running the stored procedure from the sql server.
Now I want to execute a stored procedure from the application.So I tried to use parameter having System.DateTime
type.Looks like it is not corresponds to sql datetime
.
Which type should I use for that?
UPD. I didn`t get the answer for my question. So I`ll try to make my question more clear. In SQL SErver database tables the values of the type datetime are saved.I am writing a stored procedure which looks for this values .I mean I need to get a parameter from the user of the for yyyy-mm-ddThh:mm:ss:.mmmm