网格视图控件 [英] Grid view control

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

问题描述



我很清楚.我想显示带有列(id,名称,年龄,性别,)的gridview,然后进入grid view的textbox,textbox,textbox,dropdowlist),然后从数据库中选择一个表
我们将值插入gridview.
请给我一个解决方法
谢谢

Hi,

I am arvind. I want to display the gridview with column (id, name, age, sex,) and we take inside the grid view textbox,textbox,textbox,dropdowlist) and we select a table from the database
We insert the values in gridview.
Please give me a solution
Thanks

推荐答案

这具有gridview的所有基本功能:可编辑的嵌套GridView(多合一) [ ^ ]

看看并开始解决您的问题.试试.
This has all the basic features of gridview: Editable Nested GridView (All-in-One)[^]

Have a look and start working on your problem. Try.


您可以看到此
单击
单击
You can see this
Click
Click


使用模板字段而不是Bound侧面网格视图中的字段..
在文本框的文本"属性中使用

Use template fields instead of Bound fields in side grid view..
In Text property of text boxes use

Text=''<# Bind("id") >''


这会将数据绑定到控件内部


this will bind the data inside controls


这篇关于网格视图控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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