473,398 Members | 2,812 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,398 software developers and data experts.

Using a datetimepicker in a datagrid

Hello, I have a bound datagrid that contains the following date column

Dim tcQuoteduedate As New DataGridTextBoxColum
tcQuoteduedate.MappingName = "MYCustomerCustomerTQuoteDueDate
tcQuoteduedate.HeaderText = "Quote Due Date
tcQuoteduedate.Width = 8
tcQuoteduedate.Format = "d
tcQuoteduedate.NullText = "

Is there any way that I can use a datetimepicker to allow the user to select from this datetimepicker in the datagrid, rather than typing it in each time

Thanx in advanc
Robert
Nov 20 '05 #1
1 1671
Cor
Hi Robert,

How to use the datatimepicker in a datagrid is the standard sample from MSDN
about columnstyles.

DateTimePicker
http://msdn.microsoft.com/library/de...classtopic.asp

Here some other links,

Complete very nice control
<http://dotnet.leadit.be/extendeddatagrid>

Faqs
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://www.microsoft.com/belux/nl/ms.../datagrid.mspx

http://msdn.microsoft.com/library/de...stDataGrid.asp

http://msdn.microsoft.com/library/de...ormattopic.asp

Button
http://www.i-syn.gmxhome.de/devcom/c...trolbutton.htm

Combobox
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q480q
I hope this helps a little bit?
Cor

Hello, I have a bound datagrid that contains the following date column:

Dim tcQuoteduedate As New DataGridTextBoxColumn
tcQuoteduedate.MappingName = "MYCustomerCustomerTQuoteDueDate"
tcQuoteduedate.HeaderText = "Quote Due Date"
tcQuoteduedate.Width = 85
tcQuoteduedate.Format = "d"
tcQuoteduedate.NullText = ""

Is there any way that I can use a datetimepicker to allow the user to select from this datetimepicker in the datagrid, rather than typing it in
each time.
Thanx in advance
Robert

Nov 20 '05 #2

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

Similar topics

9
by: Guy | last post by:
I have extended the datetimepicker control to incorporate a ReadOnly property. I have used the new keyword to implement my own version of the value property, so that if readonly == true then it...
1
by: Marty | last post by:
Is it possible to have a DateTimePicker in a DataGrid control date column? If so, can you please include some code. Thanks.
2
by: LC | last post by:
I am on the learn C#. Net in 695 day program. I am just trying to learn stuff. I have MSAccess database with 1 table called 'ParmDate' with 1 column called 'ParmDate' which represents a date for...
4
by: Jacek Jurkowski | last post by:
.... the minimum date of DateTimePicker is 1753-01-01. How to make DateTime to do not show nothing in its text if this date is the value? I have a form with a field LastLogonDate. If user hasn't...
3
by: Koen Vanherk | last post by:
Can I use a datetimepicker control in a datagrid column in asp.net page.If it's for win forms only, is there any way I can provide similar functionality to the user for picking a date in my web...
2
by: Austin T | last post by:
I have a datetimepicker called say mydteTimePicker and it is bound to a dataset. However the the dataset value is null the datetimepicker displays today's date as the default. I would like it to...
2
by: Chris Fairman | last post by:
NG, Maybe I'm missing a key step, but it seems when typing dates into a DateTimePicker control (format = 'Short'), the controls' .text property is not updated until the control losses focus. ...
3
by: Vayse | last post by:
Is it possible to have a datagrid column use a DateTimePicker? How would I do this? Thanks Vayse
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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,...

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.