I'm trying to format a date in a text box (birthday)... but it still displays the time ? any idea what is wrong...thanks..
this.dtBirthDate.DataBindi
ngs.Add(ne
w Binding("Text",dS_RepInfo,
"RepInfo.B
irthDate")
);
string bDate = dS_RepInfo.Tables["RepInfo
"].Rows[0]
["BirthDat
e"].ToStri
ng();
this.dtBirthDate.Text = String.Format("{0:MM/dd/yy
yy}",bDate
);
Start Free Trial