protected void grdNotes_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            // Notes Gridview, if the gridview is edition mode
            if (grdNotes.EditIndex >= 0)
            {
                grdNotes.UpdateRow(grdNotes.EditIndex, true);
            }

            // Delete note
            int materialId = (int)e.Keys["MaterialID"];
            int refId = (int)e.Keys["RefID"];

            MaterialsInformationNoteInformation model = new MaterialsInformationNoteInformation(materialsInformationTDS);

            // Delete note
            model.Delete(materialId, refId);

            // Store dataset
            Session["materialsInformationTDS"] = materialsInformationTDS;
        }