嵌套的gridview问题 [英] nested gridview problem

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

问题描述

我有嵌套的gridview。在主gv我绑定orderid和儿童gridview我绑定所有数据throguh命令ID bt我必须检查child_Rowdatabound事件的条件..它是给我error.object参考没有设置

解决方案

浏览此可编辑的嵌套GridView(全部 - in-One) [ ^ ]你可能会找到你的答案。


事实上,我没有希望一个没有足够逻辑思维来理解的人问题提供没有线索可以解决任何错误。



然而,这些问题是最微不足道的。看看我最近的答案,并尝试了解我如何找到并修复此类错误的建议:

对象引用未设置为对象的实例 [ ^ ],

dt.RowsCount中的NullException无论我尝试什么 [ ^ ]。



-SA

i have nested gridview. in master gv i am binding orderid and on child gridview i am binding all data throguh order id bt i have to check on condition of child_Rowdatabound event ..bt it is giving me error.object reference not set

解决方案

Walk through this Editable Nested GridView (All-in-One)[^] and you may find your answer.


As a matter of fact, I have little hope that a person who does not own enough logical thinking to understand that the question provides no clue can fix any bugs.

However, such problems are most trivial. Look at my recent answers and try to understand my recommendations on how to locate and fix such bugs:
object reference not set to an instance of an object[^],
NullException in dt.RowsCount no matter what I try[^].

—SA


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

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