用绑定字段和模板字段绑定网格 [英] Binding grid with bound fields and template fields

查看:66
本文介绍了用绑定字段和模板字段绑定网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在绑定具有一些绑定字段和一些模板字段的网格.
问题是只有绑定的字段绑定到了网格&不是模板字段.
在模板字段中(项目模板,我有一些文本框和一个下拉列表)
感谢您的帮助.

Hi,

I am binding grid which has some bound fields and some template fields.
Issue is only bound fields are binding to grid & not the template fields.
In template fields (Item template, i have some textboxes and one dropdownlist)
Any help is appreciated.

推荐答案

以下链接可能会对您有所帮助.如果没有,请分享您的代码以发现问题所在.
GridView的BoundField,ImageField和TemplateField
数据绑定表达式概述

在GridView控件中使用TemplateFields

在GridView控件中使用TemplateFields
The following links might help you out. If no, please share your code to catch the problem spot.
GridView''s BoundField, ImageField and TemplateField
Data-Binding Expressions Overview

Using TemplateFields in the GridView Control

Using TemplateFields in the GridView Control


这篇关于用绑定字段和模板字段绑定网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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