GridView的编辑命令问题 [英] Problem on Edit Command of GridView

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

问题描述

在gridview的编辑命令上填充组合框时出现问题...
有2个组合.
我正在第一组合的selectedIndexChanged事件上填充第二组合,并将其保存到网格视图.
但是当我编辑gridview进行更新时,第一个正在工作&第二个抛出对象引用未设置为对象的实例"错误..




请帮助避免这种类型的错误.我该怎么办.

there is a problem on populating combobox on edit command of gridview...
there is 2 combo.
i am populating the 2nd combo on selectedIndexChanged Event Of 1st Combo and save it to grid view .
but when i m editing gridview to update it then 1st one is working & the 2nd is throwing "object reference not set to an instance of object" Error..




Please help to avoid this type of error.What should i do..

解决方案

can u share your code.........


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

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