473,408 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

DatagridView DateTimePicker column

Bob
Hi,
I want to have a datetimepicker in a datecolumn.
Found the source for creating a DTP column,
but can't see how to convert an existing date column to be a DTP column.
ie. My DataGridView is bound to a DataSet.
Anybody done this?
thanks
Bob
Sep 27 '06 #1
1 3869
On Thu, 28 Sep 2006 11:20:36 +1200, "Bob" <bo*@nowhere.comwrote:
>Hi,
I want to have a datetimepicker in a datecolumn.
Found the source for creating a DTP column,
but can't see how to convert an existing date column to be a DTP column.
ie. My DataGridView is bound to a DataSet.
Anybody done this?
thanks
Bob
Bob,

I have done this, but am just about to leave for the office. Can you give me a
little more detail about which part of the process is not working? When I come
back this evening I will find you some sample code.

In the mean time if you can, do a search of the web for "Programming Microsoft
Windows Forms' by Petzold. he has a DTP control he got from the MS web site and
modified. It works, but has some bugs that I believe I have fixed.

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
Sep 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Peter | last post by:
I need to add a button to a DataGridView, but the button should only show up in the cell when user clicks on a cell in the DataGridView and disapear when user clicks off the cell. Does anyone know...
0
by: Bob | last post by:
1- Inability to easily reset datagridview combobox selection to null Solution - add a contextmenustrip to the column in which you have the combobox on the datagridview. show to user, something like...
3
by: Alex Bibiano | last post by:
żAre there free column types to use in my DataGridView? For exemple a datapicker, a maskedit, or a numeric type I know I can do it, but I'm searching for some implemented code.
2
by: Bob | last post by:
How do I show a calendar control or another appropriate control to pick a date and time for a cell in a column in a datagridview? Thanks for any help. Bob
2
by: =?Utf-8?B?QXJuZSBCZXJ1bGRzZW4=?= | last post by:
I've downloaded some code relative to establishing a column on my DataGridView which allows me to use the DateTimePicker. So far so good. If I add a column using dim col as new CalendarColumn...
0
by: eddyman592 | last post by:
Ok, I'm trying to make a column in my data grid be a DateTimePicker column. I copied and pasted all the code from the msdn website. Now, the difference in my code and the microsoft code is that my...
2
by: ReneMarxis | last post by:
Hello can anyone tell me if its possible to have mixed colum-types inside one colum in a Datagridview under Net 2.0? I need to have comboboxes (with different content), inputfields and...
0
by: priyamtheone | last post by:
I'm trying to make a datagridview column to act like a datetimepicker column (C#.Net 2005). These are the behaviours that the dgv should have: 1) Initially all the cells of the dtp column should be...
0
by: priyamtheone | last post by:
Can anyone provide me with a code example of how to use a datetimepicker cell in datagridview where in the datetimepicker column i can set the value of any cell to null or to any datetime according...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.