English 中文(简体)
如果从电网角度删除一个项目,如何从下游名单上删除。
原标题:How to delete from the dropdownlist if an item is deleted from grid view

我在网页上有一个县、下游名单、Gudview。 关于第1页,表对电网和下游名单进行了约束。 我在吉德调查中检查了盒子,如果我检查了检查箱并点击纽顿,那么它就删除了选定的浏览器。 我的问题是,我如何能够排除我从GredView中删除的从名单上删除的项目。

同我一样,我有一个雇员表。 在下级名单中,I规定雇员必须退学,并约束所有领域。

Dropdow

emp001
emp002
emp003

Gridvivew columns

empid | empname | contact | des
emp001|   X     | 999     | XY
emp002|   y     | 888     | OB
emp003|   Z     | 987     | UU

在纽顿,如果我从电网角度删除第001号,那么我也需要从降水名单上删除第001号。 谁能帮助法典?

问题回答

你们需要在Button_Click上把Grid和Droopdownlist重新合并。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签