2011-09-16 55 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也工作好