public void editCategory(object sender, CommandEventArgs e)
    {
        int          cat = Convert.ToInt32(ChangeCategoryDD.SelectedItem.Value);
        int          id  = Convert.ToInt32(Session["TransID"]);
        DataAbstract DA  = new DataAbstract();

        if (Convert.ToString(ChangeCategoryDD.SelectedItem.Text) == "Other")
        {
            string userCat = CustomCategory.Text;
            int    uid     = Convert.ToInt32(Session["userID"]);
            DA.addCategory(userCat, uid);
            cat = DA.returnCategoryID(userCat, uid);
        }
        long acct = Convert.ToInt32(Session["account"]);

        DA.updateTransactionCategory(id, cat, acct);
        Response.Redirect("Wallet.aspx");
    }