//binding & set default form Fault
        private void loadFaultDefaultEdit(int id)
        {
            Session["DtAttachmentEdit"] = null;
            HiddenText["Edit"]          = "1";
            HiddenText["IdFault"]       = id;
            var DataLoad = FaultRepository.GetFaultRecordById(id);

            currentdate.Date = DateTime.Now;
            //GVDataAttachment.DataSource = Session["dtAttachment"];
            //GVDataAttachment.DataBind();
            CSTypeValue.Text     = DataLoad[0].CSType.ToString();
            cbStation.Text       = DataLoad[0].StationName.ToString();
            cbStation.ReadOnly   = true;
            cbStamp.Text         = DataLoad[0].StamperName;
            tbRemark.Text        = DataLoad[0].Remarks;
            cbQG.Text            = DataLoad[0].QualityGateName.ToString();
            cbQG.ReadOnly        = true;
            cbFINNumber.Text     = DataLoad[0].FINNumber.ToString();
            cbFINNumber.ReadOnly = true;

            cbPartProces.Text   = DataLoad[0].FaultPartProcessDesc.ToString();
            cbFaultDesc.Text    = DataLoad[0].FaultDescriptionText;
            cbFaultRelated.Text = DataLoad[0].FaultRelatedTypeDesc;
            cbPriority.Text     = DataLoad[0].Priority.ToString();
            cbInspector.Text    = DataLoad[0].InspectorName;
            cbStamp.Text        = DataLoad[0].StamperName;
            cbRecti.Text        = DataLoad[0].IsSentToRectification.ToString();
            tbNCP.Text          = DataLoad[0].NCP;
            tbRemark.Text       = DataLoad[0].Remarks;

            //set TextBox Line
            //string line = GetLine(Convert.ToInt32(cbFINNumber.Value));
            tbLine.Text = DataLoad[0].ProductionLineName;

            //set textBox Assembly Section
            //string section = GetSection(Convert.ToInt32(cbStation.Value));
            tbAssemblySection.Text = DataLoad[0].AssemblySectionName;

            //set textBox Fault Classification
            //string classification = GetClassification(Convert.ToInt32(cbFaultDesc.Value));
            tbClassification.Text = DataLoad[0].FaultClassDescription;

            //set comboBox CGIS
            cbCGISx.Text            = DataLoad[0].CGISNo;
            HiddenText["FINNumber"] = cbFINNumberx.Text == "1" ? "-Select-" : cbFINNumberx.Text;
            if (cbFINNumberx.Text == "1")
            {
                cbFINNumberx.Text = "-Select-";
            }
            else
            {
                cbFINNumberx.Text = DataLoad[0].FINNumber;
            }
            var faults = FaultRepository.GetAttachMentViewEdit(id);

            Session["DtAttachmentEdit"] = faults;
            Session["dtAttachment"]     = ConvertListToDataTable(faults);
            GVDataAttachment.DataSource = faults;
            GVDataAttachment.DataBind();
        }