By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,599 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

How to save a DateTime value selected by the user

P: 3
first time if i select the datatimepicker value and i saved. next time it will automatically show the next date , how can i do it , pls send me the coding
Oct 31 '13 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,731
Hi Sureshkumar,

This forum is designed to help people through problems that they are facing but it is not fair to ask other people to do your work for you and so it is a policy here not to just "give the code" to make things work. Once you have implemented some code, we can help you through the problems you are having it.

In your case, the user is going to select a date and time using the date picker...then they are going to hit the save button or something to save it. Write a method that handles that button click event, retrieve the DateTime that they selected and then save it into your database.

To get you started check out this article on how to use a database in your program.

If you do not have a database already available, you should consider which type of database you want to use and ask for help in the appropriate database forum.
Oct 31 '13 #2

Post your reply

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