帮助请...如何在将数据保存到Listview时删除时间显示? [英] Help pls... how to remove time display when saving data into Listview?

查看:69
本文介绍了帮助请...如何在将数据保存到Listview时删除时间显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好..我需要帮助我遇到麻烦..我使用datetimepicker来保存出生日期但是我已经把它保存到listview它总是有时间像:12/12/1993 12:00:00 AM我怎么能删除时间?..列名称Birthdate的数据类型为DATE

hello guys.. i need help i have a trouble.. i use datetimepicker on saving birth date but wehen im done saving it into listview it always have time like: 12/12/1993 12:00:00AM how can i remove the time?.. the column name Birthdate has a data type DATE

推荐答案

您可能需要阅读日期时间 [ ^ ]结构,特别是 To .... String ()方法。
You might want to read the documentation on the DateTime[^] structure, specifically the To....String() methods.


这篇关于帮助请...如何在将数据保存到Listview时删除时间显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆