2011-09-06 80 views
0

您好,我需要添加除 id,title,start,end,allday以外的自定義字段。全日曆自定義字段

我有開始時間和結束時間在單獨的文本框中選擇字段。現在的儲蓄時間爲字符串DB,現在我需要獲取的起始時間和結束時間

'

id= e.ID, 
title = e.Title, 
description = e.Notes, 
start = ConvertToUnixTimestamp(e.StartDate), 
end = ConvertToUnixTimestamp(e.EndDate),' 

**StartTime and EndTime**我需要獲取從DB這兩個值,並顯示了在彈出的形式。我檢查了Render事件,但它顯示出已有的值。誰能幫我。

回答

0

找到了問題的答案。我剛剛添加了兩個值 開始時間,結束時間旁邊的結束時間。並在日曆中調用了相同的字段。它工作的很好。

id = e.ID, 
title = e.Title, 
description = e.Notes, 
start = ConvertToUnixTimestamp(e.StartDate), 
end = ConvertToUnixTimestamp(e.EndDate), 
allDay = true, 
Locurl = e.Url, 

startingTime = e.StartTime, 
endingTime = e.EndTime 

這是我使用。