4
Answers

Retrivin time from db

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)