468,140 Members | 1,546 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,140 developers. It's quick & easy.

how to get data from datetimepicker to combobox

Dear all,

I am working C#.net2005.I Have problem that is i have one datetimepicker and combobox.now i have msaccess databse.in that database i have datatime field.but i need to get datetime into datetimepicker when user click the datetimepicker the data has to come form database and it has to set date form database.based on that date i need get persons are in combobox.

means once i click datetimepicker it need to access the data from database(Ms Access) and set that date if not avilable that date in database "say not avilable" and if it is avialble combobox (which is perosons list which is also comming form databse) personslist need to be dispalyed in combobox.

please can help for code or sample for this. I am working on C#.net

Advanced Thanks.

venkat
Apr 26 '07 #1
1 2722
Frinavale
9,735 Expert Mod 8TB
Dear all,

I am working C#.net2005.I Have problem that is i have one datetimepicker and combobox.now i have msaccess databse.in that database i have datatime field.but i need to get datetime into datetimepicker when user click the datetimepicker the data has to come form database and it has to set date form database.based on that date i need get persons are in combobox.

means once i click datetimepicker it need to access the data from database(Ms Access) and set that date if not avilable that date in database "say not avilable" and if it is avialble combobox (which is perosons list which is also comming form databse) personslist need to be dispalyed in combobox.

please can help for code or sample for this. I am working on C#.net

Advanced Thanks.

venkat
I find your question quite confusing.

What have you tried so far?

Are you having problems setting the dateTimePicker with the value you have retrieved from the database?

Or

Are you having a problem putting the "not available" into the database when the user selects a date?

Also I don't know what "persons" are.


-Frinny
Apr 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Jacek Jurkowski | last post: by
1 post views Thread by Robert Batt | last post: by
2 posts views Thread by Austin T | last post: by
2 posts views Thread by Matthias | last post: by
2 posts views Thread by =?Utf-8?B?Y2xhcmE=?= | last post: by
5 posts views Thread by raajakumars | last post: by
27 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.