Unni R

Unni R

  • NA
  • 16
  • 11.2k

how to retrieve date from database

May 26 2015 11:40 AM
How to retrieve date format data from database to textbox.my code attached here

SqlDataReader sdr=sda.ExecuteReader() if (sda.Read()==True)
Txtdateofbirth=sdr.GetValue(2).ToString();
but time also showing in text box..how to get date only in text box