1
Answer

accepting date from datagridview to textbox and accepting time from database to datagridview

Ask a question
hi
I design one form of registration in that i use two DateTimePicker one for date and second for time.when i save the request in database I use datetime datatype for date and nvarchar for time.it store date and time correctly.but when i accept data from database into datagridview it shows date correctly but at reqtime it shows date plus time i want it only show time.
pl help
thanks in advance

Answers (1)