// Binding header if (e.Row.RowType == DataControlRowType.Header) { DataList dlstShiftHead = (DataList)e.Row.FindControl("dlstShiftHead"); dlstShiftHead.DataSource = lstRevenueAttributesDTO[0].ShiftDTOList; dlstShiftHead.DataBind(); }
GridViewRow Hrow = GridviewID.HeaderRow; DataList dlstShiftHead = (DataList)Hrow .FindControl("dlstShiftHead"); dlstShiftHead.DataSource = lstRevenueAttributesDTO[0].ShiftDTOList; dlstShiftHead.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)