2011-09-16 45 views
1

Timeglider是一个时间轴项目。 Timeglider是一个jQuery插件,用于以高度灵活的时间轴显示任意数量的事件。从数据库获取数据的时间轴

获取和读取数据最简单的方法之一是使用TABLE。 这张表是一个HTML TABLE,它有一个特定的属性 例如我们应该用SQL中的数据创建表。

我使用像GRIDVIEW或(TABLE和面板)的对象,但这些都没有这些标签。

请帮我 我可以使用json数据源吗?但我不知道如何? 但与表更容易。

Timeglider时间表可以直接从您在HTML表格中提供的数据中加载。

我可以使用response.write吗?或另一种建议的方式? 或将此行添加到表中。 (我知道只有gridview有财产头),但表没有?? ?? 请帮助我。

<!-- The first row of the table is reserved for meta-data. 

    Class values below are *critical* for mapping out data from the 
    <td> elements that follow --- though order is not important. 
    The text in <td> elements is *not* critical: just the class names. 
--> 
<tr> 
    <th class="tg-startdate">start date</th> 
    <th class="tg-enddate">end date</th> 
    <th class="tg-title">title</th> 
    <th class="tg-description">description</th> 
    <th class="tg-icon">icon</th> 
    <th class="tg-importance">importance</th> 
    <th class="tg-link">link</th> 
</tr> 

回答

0

我解决它通过创建我需要的HTML代码,并与

Response.Write(); 

火它在输出 和Timeglider也工作好