Unni R

Unni R

  • NA
  • 16
  • 10.9k

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