VB.Net: DateTimePicker in DataGridView

Hi Experts,

I am using VB.Net and using datagridview.

I need datatimepicker on a specific column. How can i do that?

Thanks in advance
baabaa_nlAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PaulHewsCommented:
The sample on this page shows how to host a DateTimePicker in a DataGridView.

How to: Host Controls in Windows Forms DataGridView Cells
http://msdn.microsoft.com/library/7tas5c80(en-us,vs.80).aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
baabaa_nlAuthor Commented:
Hi PaulHews,

The code is really huge. Are there any simpler alternatives to achieve the goal?

Thanks in advance.
nepaluzCommented:
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

PaulHewsCommented:
I don't believe there are, aside from third party grids.  There is a project on CodeProject which has compiled similar code into a library:

Generic DataGridView V2.0
http://www.codeproject.com/Articles/14674/Generic-DataGridView-V2-0

It seems well received by some, but I've never used it.
baabaa_nlAuthor Commented:
Hi nepaluz,

Its the same page and the same code that PaulHews sent. But only the URL is different.
nepaluzCommented:
had not seen that he had posted before I did.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.