Go Premium for a chance to win a PS4. Enter to Win


VB.Net: DateTimePicker in DataGridView

Posted on 2012-04-03
Medium Priority
Last Modified: 2012-04-03
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
Question by:baabaa_nl
  • 2
  • 2
  • 2
LVL 38

Accepted Solution

PaulHews earned 1000 total points
ID: 37802837
The sample on this page shows how to host a DateTimePicker in a DataGridView.

How to: Host Controls in Windows Forms DataGridView Cells

Author Comment

ID: 37802859
Hi PaulHews,

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

Thanks in advance.
LVL 17

Assisted Solution

nepaluz earned 1000 total points
ID: 37802880
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 38

Expert Comment

ID: 37802895
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

It seems well received by some, but I've never used it.

Author Comment

ID: 37802897
Hi nepaluz,

Its the same page and the same code that PaulHews sent. But only the URL is different.
LVL 17

Expert Comment

ID: 37802910
had not seen that he had posted before I did.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question