Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VB.Net: DateTimePicker in DataGridView

Posted on 2012-04-03
6
2,080 Views
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
0
Comment
Question by:baabaa_nl
  • 2
  • 2
  • 2
6 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 250 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
http://msdn.microsoft.com/library/7tas5c80(en-us,vs.80).aspx
0
 

Author Comment

by:baabaa_nl
ID: 37802859
Hi PaulHews,

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

Thanks in advance.
0
 
LVL 17

Assisted Solution

by:nepaluz
nepaluz earned 250 total points
ID: 37802880
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 38

Expert Comment

by:PaulHews
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
http://www.codeproject.com/Articles/14674/Generic-DataGridView-V2-0

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

Author Comment

by:baabaa_nl
ID: 37802897
Hi nepaluz,

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

Expert Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

861 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