时间线从数据库获取数据

时间:2011-09-16 17:01:14

标签: json html-table datasource timeline

Timeglider是一个时间轴项目。 Timeglider是一个jQuery插件,用于在高度灵活的时间轴中显示任意数量的事件。

获取和读取数据的最简单方法之一是使用TABLE。 此TABLE是具有特定属性的HTML TABLE 例如,我们应该在SQL中创建包含其数据的表。

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

请帮帮我 我可以使用json数据源吗?但我不知道怎么办? 但是用桌子会更容易。

  

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

我可以和response.write一起使用吗?或另一种提议方式? 或者将hese行添加到表中。 (我知道只有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>

1 个答案:

答案 0 :(得分:0)

我通过创建我想要的HTML代码并使用

来解决它
Response.Write();

在输出中触发它 和Timeglider也很好用