protected void btnSave_Click(object sender, EventArgs e)
        {
            clsFIRRegister fir = new clsFIRRegister();

            fir.FIRECORENo              = Convert.ToInt32(txtComplaintNo.Value);
            fir.FIREDateOfFIR           = Convert.ToDateTime(txtDate.Value);
            fir.FIREInformationType     = txtTypeofInformation.Value;
            fir.FIREPlace               = txtPlaceofOccurance.Value;
            fir.FIRENationality         = txtForeignLocal.Value;
            fir.FIREActionDone          = txtAct.Value;
            fir.FIREInformantAddress    = txtInformantAddress.Value;
            fir.FIREOnDutyOfficer       = txtPoliceOfficer.Value;
            fir.FIRETimeReceived        = Convert.ToDateTime(txtReceivedTime.Value);
            fir.FIREReceivedInformation = txtInformationReceived.Value;

            try
            {
                fir.AddFIR();
                displayFirCount();
            }
            catch (Exception ex)
            {
                throw;
            }

            ClearAll();
            lblMessage.Text = "FIR has been registered successfully.";
        }
        public void displayFirCount()
        {
            clsFIRRegister count = new clsFIRRegister();

            txtFirNo.Value = count.getFirCount().ToString();
        }