【发布时间】:2014-12-20 10:03:55
【问题描述】:
我是 Jquery 新手。我想在 JQuery 日历控件中显示每日报告,但我无法从数据库动态加载数据,请帮助我
<script>
$(document).ready(function() {
$('#calendar').fullCalendar({
defaultDate: '2014-11-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2014-11-01'
},
{
title: 'Long Event',
start: '2014-11-07',
end: '2014-11-10'
},
{
id: 999,
title: 'Repeating Event',
start: '2014-11-09T16:00:00'
},
{
id: 999,
title: 'Repeating Event',
start: '2014-11-16T16:00:00'
},
{
title: 'Conference',
start: '2014-11-11',
end: '2014-11-13'
},
{
title: 'Meeting',
start: '2014-11-12T10:30:00',
end: '2014-11-12T12:30:00'
},
{
title: 'Lunch',
start: '2014-11-12T12:00:00'
}
]
});
});
那么请告诉我如何加载这个标题并从asp.net中的数据库动态启动
【问题讨论】:
标签: javascript c# jquery asp.net c#-4.0