我想在TextBox中只显示小时和分钟
var test = dataRow.Field<TimeSpan>("fstart").ToString(); //test ="08:00:00" var tb = (TextBox) gridViewRow.Cells[2].FindControl("fstart"); tb.Text = test;
如何只显示小时和分钟 "hh.mm"
"hh.mm"
c# asp.net textbox timespan
asp.net ×1
c# ×1
textbox ×1
timespan ×1