Click here to Skip to main content
15,891,880 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am trying to save the selected time in database. I doing it one sample application.
In that I have to select the date. I did that with the help of date picker, now i need to save it in the database.
How to do that? How to get the selected time and store it in the database? Can any one can help me?
Thank you.
Posted
Updated 12-Apr-11 0:41am
v2

1 solution

You can use dtpDatOfInterview.Value and insert the selected value in the database.
dtpDatOfInterview is the name of DateTimePicker.
 
Share this answer
 
Comments
ezhilsigamani 12-Apr-11 8:07am    
@gopi9999 thanks for ur reply fri... am a beginner in android... so will you post the sample code if u don't mind..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900