How to add field to delete Role ?
I want to add "Delete" field to Gridview. (Button ? HyperLink or ? )
Click will delete special Role. How to do ?
Could anybody help me ?
Thank you very much .
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security; // Roles
public partial class roles_mgr : System.Web.UI.Page
{
string[] rolesArray;
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.User.Identity.IsAuthenticated)
{
Response.Redirect("~/login.aspx");
}
if (!IsPostBack)
...
Go to the complete details ...