cybertechno
New member
- Joined
- Dec 11, 2004
- Messages
- 1
- Programming Experience
- Beginner
Hello,
I have an Access database and one of the field is a number. In the form Iam using the data from this field I need to disply this data as DateTime. But data is displayed in a label in this form so effectively I need to convert it to a string.
I have implemented the binding method
ChangeBinding(totalTimeTakenTextBox.DataBindings, "Text", jobRules, "RuleData.TotalTimeTaken",new ConvertEventHandler(Convert2DateTime))
I WILL NEED TO DEFINE THE METHOD TO DO THIS,
How do I do it?
Problem in Summary:
1: Datatype in Access database "Number"
2: To be displayed in a label (Form design) in DateTime format.
How to do it using Binding Class?
Thanks
I have an Access database and one of the field is a number. In the form Iam using the data from this field I need to disply this data as DateTime. But data is displayed in a label in this form so effectively I need to convert it to a string.
I have implemented the binding method
ChangeBinding(totalTimeTakenTextBox.DataBindings, "Text", jobRules, "RuleData.TotalTimeTaken",new ConvertEventHandler(Convert2DateTime))
I WILL NEED TO DEFINE THE METHOD TO DO THIS,
How do I do it?
Problem in Summary:
1: Datatype in Access database "Number"
2: To be displayed in a label (Form design) in DateTime format.
How to do it using Binding Class?
Thanks
Last edited: