示例#1
0
        /// <summary>
        /// Set Grid Data source
        /// </summary>
        /// <param name="addRow"></param>
        /// <param name="deleteRow"></param>e
        private void BindGrid(bool addRow, bool deleteRow)
        {
            OccupationBLL OccupationBLLobj = new OccupationBLL();

            grdOccupation.DataSource = OccupationBLLobj.GetALLOccupation();
            grdOccupation.DataBind();
        }