Dim mfd As Date = Date.Parse(DateString)
and in sql field datatype is date
i am getting error
Hi yogeshc,
Like below. Out put will be only date.
Dim mfd As String = DateTime.Parse(DateTime.Now.ToString()).ToShortDateString()
Output
10/26/2016
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.