protected void Edit(object sender, EventArgs e) { try { _shiftManager = new ShiftManager(); _shift = new Shift(); int index = (((GridViewRow)(((LinkButton)(sender)).Parent.BindingContainer))).RowIndex; var shiftId = ((Label)gvShift.Rows[index].Cells[0].FindControl("lblCode")).Text; _shift = _shiftManager.GetShift(shiftId); FillShiftInformation(_shift); ViewState["_isNew"] = false; txtShiftCode.Enabled = false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)