Umashankar.vis
New member
- Joined
- Mar 27, 2008
- Messages
- 3
- Programming Experience
- Beginner
Hi,
I am new to VB .net . I have a access database called "Detail" with following field in it.
ID - Autonumber
EmpID - Number
Date - Date/Time
Name - Text
Exam no - Number
Start time - Date/Time
End time - Date/Time
Comments - Text
I have connected this database to my form in VB .net by using data connection option in server explorer. It was connected and can able to view the records. But when I try to add records to this database I have a problem. I entered Time value in "Start time" and "End time" text field. but in my database it was saved as a date value. (For example I entered "22:10" and "23:05" in the respective fields. but in my database it stored as a current date"03/27/08").
Could you please help me in this.
I am new to VB .net . I have a access database called "Detail" with following field in it.
ID - Autonumber
EmpID - Number
Date - Date/Time
Name - Text
Exam no - Number
Start time - Date/Time
End time - Date/Time
Comments - Text
I have connected this database to my form in VB .net by using data connection option in server explorer. It was connected and can able to view the records. But when I try to add records to this database I have a problem. I entered Time value in "Start time" and "End time" text field. but in my database it was saved as a date value. (For example I entered "22:10" and "23:05" in the respective fields. but in my database it stored as a current date"03/27/08").
Could you please help me in this.