开发者

i got an error in login code

开发者 https://www.devze.com 2022-12-24 09:07 出处:网络
I tried writing a login code in vc#.. I got the following error.. The type or namespace name \'LoginControl\' does not exist in the namespace \'ErikSchmidt\' (are you missing an assembly reference?开

I tried writing a login code in vc#.. I got the following error..

The type or namespace name 'LoginControl' does not exist in the namespace 'ErikSchmidt' (are you missing an assembly reference?开发者_如何学Go)

Please help me rectify this error.


This means that Login Control is not visible to your code. What you need is specify LoginControl's namespace with using keyword or add assembly reference (with login control) to your project.


.NET projects must define which assemblies they require (such as System in most C# programs). It looks like you didn't add a reference to the assembly that contains LoginControl. Right-click on "References" in the project (in "Solution Explorer") and add a reference to the required assembly (which is wherever LoginControl is contained in).

0

精彩评论

暂无评论...
验证码 换一张
取 消