Try the following code. DateTime fdate = Convert.ToDateTime(txtstartdate.text.ToString()); string ST = ""; ST = String.Format("{0:MM/dd/yyyy}", fdate); :) :) :) :thumbsup:
A
Aysha Patel
@Aysha Patel
Try the following code. DateTime fdate = Convert.ToDateTime(txtstartdate.text.ToString()); string ST = ""; ST = String.Format("{0:MM/dd/yyyy}", fdate); :) :) :) :thumbsup: