更新由下拉列表填充的gridView [英] Updating gridView that is populated by dropdown list

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

问题描述

任何人都可以给我一个代码来解决我遇到的这个问题.我的gridView由下拉列表的值填充,请很好的程序员,我确实需要它.

[edit]紧急情况已删除-OriginalGriff [/edit]

Could any one please give me a code to get away on this problem i have. my gridView is populated by the value of a dropdown list, Please good progreammers I really need this.

[edit]Urgency deleted - OriginalGriff[/edit]

推荐答案

关于row_editing事件
做这个
(drpsitename)是下拉列表,而grd [购买顺序是网格
DrpSiteName.SelectedItem.Text = grdPurchaseOrder.Rows [e.NewEditIndex] .Cells [5] .Text;
希望对您有所帮助
on the row_editing event
do this
(drpsitename)is dropdown and grd[purchaseorder is the grid
DrpSiteName.SelectedItem.Text=grdPurchaseOrder.Rows[e.NewEditIndex].Cells[5].Text;
hope this will help


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

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