protected void gvMaster_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName.ToString().ToUpper() == "EDIT")
     {
         Response.Redirect("Manage-Login-Add.aspx?LoginId=" + e.CommandArgument.ToString());
     }
     if (e.CommandName.ToString().ToUpper() == "DELETE")
     {
         objLogin.LoginId = Convert.ToInt32(e.CommandArgument.ToString());
         objLogin.Delete();
         lblMessage.Text = "Login successfully deleted!";
     }
 }
    protected void Unnamed_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if (e.CommandName.ToString().ToUpper() == "EDIT")
        {
            Response.Redirect("Manage-Login-Add.aspx?LoginId=" + e.CommandArgument.ToString());
        }

        if (e.CommandName.ToString().ToUpper() == "DELETE")
        {
            objLogin.LoginId = Convert.ToInt32(e.CommandArgument.ToString());
            objLogin.Delete();
            lblMensagem.Text = "Login excluído com sucesso!!";
        }
    }