Hi, I am trying to manage ROLES in ASP.NET using ROLES MEMBERSHIP PROVIDER. I designed a GridView to manage EDIT for ROLES. I am not able to update the data when inserted in a TextBox. Belove the code for the event.
Could you tell me what I am doing wrong, or maybe send me some good tutorials specifically for MEMBERSHIP? Thanks
protected void uxRoleListDisplayer_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
// Find out a specific Row Index
GridViewRow row = uxRoleListDisplayer.Rows[e.RowIndex];
// Find out TextBox and associate theme to object
TextBox uxRoleNameEditInput = (TextBox)row.FindControl("uxRoleNameEditInput");
//int RoleId = Int32.Parse(uxRoleListDisplayer.DataKeys[e.RowIndex].Value.ToString());
uxRoleListDisplayer.DataBind();
}