i got this error 'convert datetime to string format yyyymmdd vb.net'
this is my code
Dim ExpDate As String = dgvBlock_Extend.Rows(icnt).Cells("Extend Door & Lift Expiry Date").Value.ToString("yyyyMMdd")
the value is 4/6/2011 12:00 AM
i wnt to convert to format yyyyMMdd
how i'm going to solve this error?