Formview中的Gridview [英] Gridview within a Formview

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

问题描述

美好的一天!

谁能帮助我或教我如何在Formview中创建gridview?

这就是我想发生的事情,我有一个Formview,它将显示特定文件的描述.在每个描述中,它包含的列表可以是作业列表,课程列表以及其他表中的列表.此列表应显示在gridview中.

如何在1个gridview中显示特定的数据表或数据集?

请帮我.在此先感谢您.

Good day!

can anyone help me or teach me how to create gridview within a formview?

this is what i wanted to happen, I have a formview which will display the descriptions of a specific file. In each descriptions it contains list that can be assignment list, course list, and list from other tables. This list should be displayed in a gridview.

how can I display specific data table or dataset in 1 gridview?

please help me. Thanks in advance.

推荐答案

在formview中是什么意思?
您可以将数据集绑定到gridview
首先用数据填充数据集并将其绑定到gridview
像这样..
what do you mean within a formview?
you can bind the dataset into the gridview
first fill the dataset with data and bind it in gridview
like this..
sqladapter.fill(dataset)
gridview1.datasource=dataset.tables(0)
gridview1.databind


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

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