如果某个链接单击,则不会将对象引用设置为对象的实例 [英] i a getiing a error Object reference not set to an instance of an object when certain links click

查看:51
本文介绍了如果某个链接单击,则不会将对象引用设置为对象的实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我要去新闻详情页面时,它显示上面的错误...但是通过另一页点击同一页面时没问题

when i am going for the news detail page it shows the above error...but no problem while clicking the same page through another page

推荐答案

你能不能调试源代码?

您正在访问 null 的对象的属性或方法。
Can you debug your source code?
You are accessing a property or moethod of an object that is null.


这篇关于如果某个链接单击,则不会将对象引用设置为对象的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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