GridView绑定问题 [英] GridView Binding Problem

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

问题描述

我在Gridview中点击编辑链接按钮时创建了动态网格视图并且自动生成的颜色为真,即编辑itemtaplate下拉列表将出现并再次单击编辑按钮文本框显示下拉列表并更改为更新并取消





我们还没有制作文本框,但它显示我怎么才能得到只有下拉

I Created A Dynamic Gridview And The Auto Generated Coloumns Are True when I click on edit Link Button In Gridview i.e is Edit itemtaplate Dropdown Will Appear And Again Clicking on edit Button The Textbox is displayed with the dropdown and the is changed to update and cancel


we have not made textbox but it is displaying how can i get only dropdown

推荐答案

我对你的问题有点困惑,但我想我得到了大部分内容。

点击编辑模板后你会有更多选项,选择 EditItemtemplate并在其中放置一个DropDown菜单并在ItemTemplate中放置一个标签



项目模板是GridView未处于编辑模式时您将看到的控件。 br $> b $ b

希望我清楚
Im a bit confused with your question, but i guess i got most of it.
Once you click "Edit Template" you have more options in it, choose the "EditItemtemplate" and put a DropDown menu there and in the ItemTemplate put a label

Item Template is the control that you would see when the GridView is not in Edit mode.

Hope im clear


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

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