![]() |
| ||
| date problem hi, my problem is i want to display date using combo box. user will select da date and it will be save to db. da date will be separate to day, month and year. the main prob is i don't know how to aviod this happen 31/2/2005, don't no how 2 xplain.... anyone can help me? |
| ||
| Re: date problem Just setup an input mask or set the field type to a DATE field. If you mean three sep boxes then thats even easier just say: Day number must be greater then 0 but less then or = 31 but account for months with 30 days and 28 days etc. Month > 0 <= 12 Year >= 2005 ?? Not sure what your trying to do exactly.. but its easy to link this up.. You could evn use the CALENDAR option.. popup a calendar let them select a date and populate fields.. or you can fgo the route of... CHOOSE A MONTH Base don month you get days.... then CHOOSE a Year... etc etc |
| ||
| Re: date problem that was gd idea, by pop up the calendar. but how can i link it to a textbox to display the date select by the user? should i use datepicker ? xtually wat is da fn of datepicker? thanks 4 your concern. |
| ||
| Re: date problem |
| ||
| Re: date problem Use a calendar for this problem |
| ||
| Re: date problem the dtpicker seems to work best for most of my applications. |
| ||
| Re: date problem Quote:
|
| ||
| Re: date problem Can some one help me with the following. Any help will be appriciated. Platfprm : Visual Studio 2005, Visual Basic Situation : I have datepicker created in JAVA and call in Visual Basic .net program. User Pick date and populate to text box. And click save to SQL 2005 database as date fileld. My problem is that how to convert date picker date(which is in text box) and save to database Pls. give me code sample. NK |
| ||
| Re: date problem Quote:
or CDate(Textbox1.text) |
| ||
| Re: date problem Quote:
Start a thread of your own instead for fresh discussions. |
| All times are GMT -4. The time now is 3:30 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC