您是否缺少装配参考? [英] Are you missing an assembly reference ?
本文介绍了您是否缺少装配参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何解决此类代码的问题?
how to solve the problem with this type of code?
string newRoleName = RoleName.Text.Trim();
if (!Roles.RoleExists(newRoleName))
// Create the role
Roles.CreateRole(newRoleName);
RoleName.Text = string.Empty;
带下划线的单词出现以下错误
您是否缺少程序集引用?
Underlined words get the following error
Are you missing an assembly reference ?
推荐答案
我希望以下链接对您有所帮助:
http://www.asp.net/web-forms/tutorials/security/roles/creating-and-managing-roles-cs [
I hope following link will help you:
http://www.asp.net/web-forms/tutorials/security/roles/creating-and-managing-roles-cs[^]
Please carefully read following items:
#Step 3: Examining the Roles API
#Step 4: Creating New Roles
Good luck
这篇关于您是否缺少装配参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文