在GridView中创建动态列 [英] dynamic columns creating in gridview

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

问题描述

我在该表中有表,字段是考试名称,考试ID,考试结果日期..
当我单击输入按钮时,列将在网格中动态创建.
该列将是表

i have table in that table the fields are examname,exam id, exam result date..
when i click the enter button then the columns will dynamically created in a grid.
that columns wiil be the field data values in exams column in the table

推荐答案

Ok中的"exams"列中的字段数据值.接下来是什么?是否尝试过?

步骤:
1.编写查询并获取所有数据
2.将数据设置为网格的源,其中可以根据源自动生成列.
试试吧!

这是询问者的期望:
1. 先尝试您要做什么!
2.制定看起来像问题/无法解决的问题.

尝试一下,告诉您是否遇到问题.
成员将很乐意为您提供帮助.
Ok. What next? Tried to do it or not?

Steps:
1. Write a query and get all data
2. Set the data as the source for grid where it can have columns generated automatically based on source.
Try!

Here is what is expected by enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.


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

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