Solved

VB.Net: DateTimePicker in DataGridView

Posted on 2012-04-03
6
1,908 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
Comment Utility
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
Comment Utility
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
Comment Utility
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 38

Expert Comment

by:PaulHews
Comment Utility
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
Comment Utility
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
Comment Utility
had not seen that he had posted before I did.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now