然后自己拼出自己想要的数据
如果表格是死的。那就先划表格,用Label绑定数据就行了。
如果是动态的,视数据库如何设计而定。但是原则上是以ASP:TABLE,拼出来,需要从数据中知道每个框需要跨几行,几列。
大致的意思如下:
dim tr as TableRow
dim tc as TableCell
for循环
tr=new TableRow
for循环
tc=new TableCell
tc.text=要的数据
tc.RowSpan=行跨格数
tc.ColSpan=列跨格数
tr.Cells.add(tc)
next
Table1.Rows.add(tr)
next