|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
bindaing a DATE fieldHi,
VB.net project with ms-access database, I've a DATETIME field that I like to bind in my Form, it ontains the date only : - If I use a TextBox the problem is that There is an hour (12:00) added to the textBox even if I fill the date only. - If I use a DateTimePicker the problem is when the field is NULL It is filled with the today's date. Any idea please to bind the datetime field. thanks Toufik,
Have a look at the binding events. Here is a sample on our website http://www.vb-tips.com/default.aspx?ID=c4832a2a-2b95-4ded-93d9-4deb7fa4a0b8 As addition don't forget to use with the datetimepicker the Value property I hope this helps, Cor
Summary of issues with VS 2005
2 keys pressed at once VB.NET wizard form Using ".OpenCurrentDatabase" in VB .net to open an MS Access DB .Net 2.0 - Webbrowser control flickering on resize.... Loading UserControl on a ShowDialog Form sequence strange Access SubQuery Help Needed..................... VS2005 combox question Project help ListView vs. ListBox in my Program |
|||||||||||||||||||||||