Using a datetimepicker in a datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Hi Robert,

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

DateTimePicker
http://msdn.microsoft.com/library/d...windowsformsdatagridcolumnstyleclasstopic.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/msdn/community/columns/jtielens/datagrid.mspx

http://msdn.microsoft.com/library/d...ry/en-us/dnwinforms/html/wnf_CustDataGrid.asp

http://msdn.microsoft.com/library/d...ormsdatagridtextboxcolumnclassformattopic.asp

Button
http://www.i-syn.gmxhome.de/devcom/colstyles/controlbutton.htm

Combobox
http://www.syncfusion.com/FAQ/WinForms/FAQ_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.
 
Back
Top