Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2607
  • Last Modified:

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
0
baabaa_nl
Asked:
baabaa_nl
  • 2
  • 2
  • 2
2 Solutions
 
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
0
 
baabaa_nlAuthor Commented:
Hi PaulHews,

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

Thanks in advance.
0
 
nepaluzCommented:
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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.
0
 
baabaa_nlAuthor Commented:
Hi nepaluz,

Its the same page and the same code that PaulHews sent. But only the URL is different.
0
 
nepaluzCommented:
had not seen that he had posted before I did.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now