Sir i am getting "Error converting data type nvarchar to date."
i am using sql server 2008 r2
and my field datatype is date
i want to store current date (only) dd-mm-yyyy formate
Dim pdate As String = DateTime.Parse(DateTime.Now.ToString()).ToShortDateString()
Dim mfd As String = DateTime.Parse(DateTime.Now.ToString()).ToShortDateString()
and i am inserting it to sql table
please help me