Re: simple datetimepicker questions
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Thu, 24 Aug 2006 09:04:11 +0200
Mafandon,
Have you ever looked to one of the thousand samples on internet about a
Numeric textbox.
What you ask you can do in the same way.
This are the answers limited to the microsoft.public.dotnet.languages.vb
newsgroup which is probably more suitable for your question because you need
the answer in code.
http://groups.google.com/group/microsoft.public.dotnet.languages.vb/search?group=microsoft.public.dotnet.languages.vb&q=numeric+textbox&qt_g=1&searchnow=Search+this+group
You can create for your dbnull date in my opinion a check if 01010001 is
entered (the lowest date possible in DateTime and than change that for a
nothing (system.vbnull) in your database.
I hope this helps,
Cor
"mafandon" <mafandon@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:6A416FF3-826B-4A3E-8A77-81532DD32337@xxxxxxxxxxxxxxxx
This example deals with a datetimepicker Date of Birth concept for a
windows
form in VB 2005.
Simply put, if a user wants to enter the MM/DD/YYYY using the number pad,
how can I advance the cursor to the DD and then the YYYY without needing
to
use the "/" key?? So the keystrokes look like "07041978" versus doing
"07/04/1978".
Secondly - if we don't know the D.O.B. at the time of input, we'd like to
make update the dataset with a blank (null) value.
Thanks much.
.
- Prev by Date: DataGrid Pagination, crawler friendly .NET 1.1
- Next by Date: Re: Try...Catch... Resume??
- Previous by thread: DataGrid Pagination, crawler friendly .NET 1.1
- Next by thread: Auto mail from SQL
- Index(es):
Relevant Pages
|