请问前辈们,下面的这对中括号起什么作用[PopedomTypeAttaible(PopedomType.New)]
[System.Security.Permissions.PrincipalPermission(System.Security.Permissions.SecurityAction.Demand, Role = "OR")]
protected void Button1_Click(object sender, EventArgs e)
{
Response.Write("新增权限");
}
[System.Security.Permissions.PrincipalPermission(System.Security.Permissions.SecurityAction.Demand, Role = "OR")]
protected void Button1_Click(object sender, EventArgs e)
{
Response.Write("新增权限");
}
解决方案 »
- 如何获取活动目录中的密码?
- 怎么读取每天的记录?急急急~~今晚不做出来奴家死定了
- System.AccessViolationException的问题,高分求解
- vs2010 C#.net listview出现如下错误,请解决。
- VS2005如何在VB开发环境下添加C#类??
- 能不能在richtextBox里可以点击连接,进入网页啊?大家帮帮我!!!!!!!!!!
- 急需一个图书管理系统用SQL2005和VS2008开发的有源代码 用三层做的
- access数据库加密后就连不上了?请大家帮我看一下!!!
- 如何用javascript判断CheckBoxList控件不能为空????
- 各位推荐些书吧winform的,以前一直是webform 想学学winfom,
- 请教大家一个简单问题?
- 如何实现渐隐的窗体?
参见
http://blog.csdn.net/onlyzhangqin/archive/2007/06/22/1661786.aspx