Gridview中的下拉列表 [英] Dropdown list in Gridview

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

问题描述

尊重所有人,
我有一个数据库ms-access.我有一个由2个下拉列表组成的gridview,我有编辑和删除按钮.
当我单击编辑"按钮时,应该出现2个下拉列表,并且我应该从数据库列中获取数据.
如果需要,我必须在这里更新数据.


谁能帮我...

我已经在列表项的帮助下在源代码视图中完成了-它正在执行,但我想从数据库中获取数据.

Respect to all,
I have a database ms-access.I have a gridview which consists of 2 dropdownlists,I have edit and delete buttons.
when i click on edit button,that 2 dropdownlists should appear and I should get the data from database columns.
Here I have to update the data if required.


Can any one help me......

I have done in source view with the help of list items---It is executing but i want to get the data from database.

推荐答案

这个网址可能会帮助您. ------>




check out the VDOs on this url might b they will help u alot. ------>




http://www.pluralsight-training.net/microsoft/players/PSODPlayer.aspx?author=dan-wahlin&name=webforms-03&mode=live&clip=0&course=aspdotnet-webforms4-intro


看看这个MSDN教程. ASP.NET 2.0的GridView示例:在GridView中编辑基础数据 [ ^ ]
Take a look at this MSDN tutorial.GridView Examples for ASP.NET 2.0: Editing the Underlying Data in a GridView[^]


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

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