我们如何在使用vb.net的窗口应用程序中的网格视图列中添加日期时间选择器 [英] how can we add date time picker in grid view column , in window application using vb.net

查看:75
本文介绍了我们如何在使用vb.net的窗口应用程序中的网格视图列中添加日期时间选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<我的问题 - 如何在使用vb.net的窗口应用程序中的网格视图列中添加日期时间选择器。>

网格视图列包含当前日期n时间的日期时间选择器

plz回复...

< my Question - how can we add date time picker in grid view column , in window application using vb.net .>
grid view column contain date time picker with current date n time
plz reply...

推荐答案

很简单,

右键单击你的项目添加新的组件文件名CalendarColumn

从下面链接打开代码查看并粘贴CalendarColumn.cs文件中的代码,

http://msdn.microsoft.com/library/ 7tas5c80%28l = en-us,v = vs.80%29.aspx?cs-save-lang = 1& cs-lang = vb#code-snippet-1 [ ^ ]

现在构建项目

成功构建后,您将能够在datagridview中看到此类型的列w ^ hile添加新列或编辑现有列类型

Happy Coding!

:)
it is quite simple,
right click your project add new component file name it "CalendarColumn"
open code view and paste code in CalendarColumn.cs file from below link,
http://msdn.microsoft.com/library/7tas5c80%28l=en-us,v=vs.80%29.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1[^]
Now build your project
after successful build you will able to see this type of column in your datagridview while adding new column or editing type of existing column
Happy Coding!
:)


这篇关于我们如何在使用vb.net的窗口应用程序中的网格视图列中添加日期时间选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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