且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在VB.NET中的DataGridView中的特定单元格中添加datetimepicker?

更新时间:2023-12-03 12:14:10

转到Datagridview任务
选择Edit_column
然后从那里选择要添加DTP的列.
然后在列类型中,选择日历.
就是这样.
goto Datagridview task
Select Edit_column
then from there, select the column where you want to add the DTP.
then at the column type, select calender.
That is it.


请参见下面的链接,您可能会有所了解
带有ListBox的DataGridView控件 [
see below link you may get some idea
DataGridView Control with ListBox[^]


您好,

据我所记得,没有内置的DataGridViewDateTimeColumn-Class.幸运的是,您不必开发它,因为Microsoft已经为我们完成了此任务:

http://msdn.microsoft.com/en-us/library/7tas5c80% 28VS.80%29.aspx [ ^ ]

祝你好运!
Hello,

as far as I remember, there is no built-in DataGridViewDateTimeColumn-Class. Luckily, you don''t have to develop it, ''cause Microsoft already did this for us:

http://msdn.microsoft.com/en-us/library/7tas5c80%28VS.80%29.aspx[^]

Good luck!