4
Reply

Retrivin time from db

Ask a question
I have a value starttime coming from database which is 12:20PM (for eg)
I want to retrieve it from db and store it to control 
  <input type="time" name="txtStartTimeHTML"  id="txtStartTimeHTML" />
my sp is
Select LTRIM(RIGHT(CONVERT(VARCHAR(20),CAST(A.StdTimeIn as DATETIME)), 7)) as StdTimeIn from TimeMaster
M gettig error that collection is readonly.How to solve this


Answers (4)