数据表 [英] datatable

查看:73
本文介绍了数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,
我在查看状态下有问题.
表以视图状态存储.
现在想以html表格格式检索它.
我该怎么办.

hello friends,
i have a problum in view state.
a table is stored in view state .
now want to retrieve it in a html table format .
how can i do it.
thanx in advance.

推荐答案

在VB中,
In VB,
dim table as new HTMLTable
table = CType(ViewState("ur viewstate"), HTMLTable) 



在C#中,



In C#,

HTMLTable table = new HTMLTable();
table = (HTMLTable)ViewState["ur viewstate"] 


这篇关于数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆