protected void OtherCostsInformationEmptyFix(GridView grdView)
        {
            if (grdView.Rows.Count == 0)
            {
                ProjectCostingSheetAddTDS.OtherCostsInformationDataTable dt = new ProjectCostingSheetAddTDS.OtherCostsInformationDataTable();
                dt.AddOtherCostsInformationRow(0, 0, "", "", "", "", 0, 0, 0, 0, 0, false, 3, false, "", DateTime.Now, DateTime.Now, "", "", "", 0, 0);
                Session["otherCostsInformationDummy"] = dt;

                grdView.DataBind();
            }

            // Normally executes at all postbacks
            if (grdView.Rows.Count == 1)
            {
                ProjectCostingSheetAddTDS.OtherCostsInformationDataTable dt = (ProjectCostingSheetAddTDS.OtherCostsInformationDataTable)Session["otherCostsInformationDummy"];
                if (dt != null)
                {
                    // Hide row
                    grdView.Rows[0].Visible = false;
                    grdView.Rows[0].Controls.Clear();
                }
            }
        }