protected void btnSave_Click(object sender, EventArgs e)
        {
            clsChargeSheet chargeSheet = new clsChargeSheet();

            chargeSheet.CHSHPoliceStation  = txtPoliceStation.Value;
            chargeSheet.CHSHDateOfRegister = Convert.ToDateTime(txtDateOfRegister.Value);
            chargeSheet.CHSHFIRNo          = Convert.ToInt32(txtFIRNo.Value);
            chargeSheet.CHSHPlace          = txtPlace.Value;

            try
            {
                chargeSheet.AddChargeSheet();
                displayChargeSheetCount();
            }
            catch (Exception ex)
            {
                throw;
            }

            ClearAllTextBox();
            lblMessage.Text = "Charge Sheet has been created successfully.";
        }
        public void displayChargeSheetCount()
        {
            clsChargeSheet count = new clsChargeSheet();

            txtChargeSheetNo.Value = count.getChargeSheetCount().ToString();
        }