kashmira ostwal

kashmira ostwal

  • NA
  • 4
  • 5.5k

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

Dec 8 2012 3:47 AM
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)