vb.net中的HTML表 [英] HTML Table in vb.net

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

问题描述

我可以在vb.net的HTML表格中检索sql数据库字段。

我有一个html表,在点击行时折叠和扩展功能。现在我需要从表中检索数据数据库。



谢谢

Can I retreive sql database fields in an HTML Table in vb.net.
I have a html table with collapsing and expanding functionalities on click of row.Now I need the table to retrieve data from database.

Thanks

推荐答案

首先,你需要在后端代码中从数据库中检索数据。然后使用已从数据库获取的数据构建HTML表。最后,您需要在aspx页面中使用ASP.NET Literal控件,并在vb.NET代码中为该HTML表分配Literal文本。
Firstly, you need to retrieve data from database in back-end code. Then build HTML table with data that already get from the database. Finally, you need to use ASP.NET Literal control in aspx page and assign Literal text with that HTML table in vb.NET code .


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

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