How to add DateTimePicker Control into DataGridView Column

Posted by T.saravanan under C# on 8/6/2010 | Views : 65013 | Status : [Member] [MVP] | Replies : 2
Hi,

I am add datetimepicker control into datagridview cell.if i resize the column of datagridview that time datetimepicker size does not expand equal to cell size.How to fill a cell size into datetimepicker

Advance Thanks,
T.Saravanan

Thanks,
T.Saravanan



Responses

Posted by: Lalji_mer on: 10/12/2010 [Member] Bronze | Points: 25

Up
0
Down
you can get here solution

http://msdn.microsoft.com/en-us/library/7tas5c80.aspx

LP MER

T.saravanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: T.saravanan on: 10/13/2010 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi Lalji,

Thanks for your Response.
Actually i am add datetimepicker control in DataGridView cell.Its working fine but my problem is when i expand the DataGridView column size means Column size only expand, datetimepicker control size not expand.Is any possibilities or event are there in our DataGridView. I am working in windows application.

Thanks,

Thanks,
T.Saravanan

T.saravanan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response