不包含定义,并且没有可以找到接受类型的第一个参数的扩展方法(您是否缺少using指令或引用?) [英] Does not contain a definition for and no extension method accepting a first argument of type could be found(are you missing a using directive or an reference? )

查看:75
本文介绍了不包含定义,并且没有可以找到接受类型的第一个参数的扩展方法(您是否缺少using指令或引用?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have been working developing as asp.net application. Have there hundreds of pages.
I have never been through such error.
i am getting the same error in all the pages of any folders of my application.
when ever i try to add any button with underlying code for the button. it says ::::




does not contain a definition for and no extension method accepting a first argument of type could be found(are you missing a using directive or an reference?)





我尝试过:





What I have tried:

have written the underlying  code the button event properly.
I am an asp.net developer since 5 years.

推荐答案

Quote:

我在我的应用程序的任何文件夹的所有页面中都收到相同的错误。

当我尝试添加任何带有按钮的基础代码的按钮时。它说::::

i am getting the same error in all the pages of any folders of my application.
when ever i try to add any button with underlying code for the button. it says ::::



那是因为你在你的密码中犯了一个秘密错误。不幸的是,我们现在暂时不会阅读药水。

介于两者之间,你应该学会正确提问:

提出问题是一项技能 [ ^ ]

在论坛中发布问题的一些指导方针 [ ^ ]


这篇关于不包含定义,并且没有可以找到接受类型的第一个参数的扩展方法(您是否缺少using指令或引用?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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