| | |
datetimepicker
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Oct 2006
Posts: 14
Reputation:
Solved Threads: 0
Hi,
I'm using a datetimepicker in a form and i have a textbox also. I need to list the days clicked separated by a "," in the textbox, however i have no idea how to code it.
ex. i used
but if i click on another date, then the date is changed in the textbox. I want to keep the date, use a comma (& ",") and paste the next date to click after the comma.
any help very much appreciated
Thank you
Luke
I'm using a datetimepicker in a form and i have a textbox also. I need to list the days clicked separated by a "," in the textbox, however i have no idea how to code it.
ex. i used
VB.NET Syntax (Toggle Plain Text)
dates_chosen.text = datetimepicker1.value.dayofweek.toString
but if i click on another date, then the date is changed in the textbox. I want to keep the date, use a comma (& ",") and paste the next date to click after the comma.
any help very much appreciated
Thank you
Luke
•
•
Join Date: Mar 2007
Posts: 5
Reputation:
Solved Threads: 1
VB.NET Syntax (Toggle Plain Text)
IF LEN(Datetimepicker1.value.dayofweek.toString)=0 THEN dates_chosen.text = datetimepicker1.value.dayofweek.toString ELSE dates_chosen.text = DATES_CHOSEN.TEXT +", " + datetimepicker1.value.dayofweek.toString END IF
![]() |
Similar Threads
- How to save a date from a datetimepicker in Borland C++ builder? (C++)
- Connecting to .MDB with VB.net (VB.NET)
- What's the best way to represent dates in a form? (C#)
- dateTime picker (ASP.NET)
- C++ Builder 6 - DateTimePicker (C++)
- Printing problems (C#)
Other Threads in the VB.NET Forum
- Previous Thread: Move actual file DOMDocument()
- Next Thread: moving labels on a form
Views: 2716 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date design designer dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert installer intel internet listview mobile monitor net networking objects output panel passingparameters picturebox port position print printing problem read remove save searchbox searchvb.net select serial shutdown soap sorting studio survey table tcp temperature text textbox time timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year






