给textbox赋一个datetime类型怎么能只要日期不要时间

2025-05-12 12:32:05
推荐回答(1个)
回答1:

((DateTime)ds.Tables["Infor"].Rows[0][6]).ToString("yyyy-MM-dd")