I have an sp with a parameter of smalldatetime datatype. I'm calling my SP through OleDbConnection in my C# code. using OleDbConnection is a requirement so don't answer to change my connection type to SqlConection.
Now my problem is I cannot pass the parameter of type smalldatetime to the sp because OleDbDataType don't have smalldatetime datatype. What's the best DataType to use? or any suggestions? Except changing my connection type to SqlConnection.