开发者

Can we add datetime picker to datagridview's columns in winforms?

开发者 https://www.devze.com 2023-04-05 18:58 出处:网络
Can we ad开发者_C百科d datetime picker to datagridview\'s columns in winforms? with or without coding ?with some amount of code you can get it working, the good news is that you find examples ready fo

Can we ad开发者_C百科d datetime picker to datagridview's columns in winforms? with or without coding ?


with some amount of code you can get it working, the good news is that you find examples ready for copy/paste, snippet:

public class CalendarCell : DataGridViewTextBoxCell
{

...

public class CalendarEditingControl : DateTimePicker, IDataGridViewEditingControl
{

...

full article: How to: Host Controls in Windows Forms DataGridView Cells

0

精彩评论

暂无评论...
验证码 换一张
取 消