private void InsertProductionProcess()
        {
            try
            {
                bool isOrderExist = masterBLL.isOrderExist(txtOrder.Text);
                if (isOrderExist != true)
                {
                    string OCode = Convert.ToString(((SessionUser)Session["SessionUser"]).OCode);
                    List <LC_InputType> InputType = inputTypeBll.GetALLProductionProcess(OCode);
                    if (InputType.Count > 0)
                    {
                        foreach (var item in InputType)
                        {
                            //Label lblWorkingDay = ((Label)gvRow.FindControl("lblWorkingDay"));

                            LC_ProductionDetails _LC_ProductionDetails = new LC_ProductionDetails();



                            _LC_ProductionDetails.ProductionProcess  = item.Input_Name;
                            _LC_ProductionDetails.Order_No           = txtOrder.Text;
                            _LC_ProductionDetails.Schedule_Date      = null;
                            _LC_ProductionDetails.Responsible_Person = null;
                            _LC_ProductionDetails.Status             = "Pending";
                            _LC_ProductionDetails.TergetQty          = Convert.ToDecimal(0);
                            _LC_ProductionDetails.EditDate           = DateTime.Today;
                            _LC_ProductionDetails.EditUser           = ((SessionUser)Session["SessionUser"]).UserId;
                            _LC_ProductionDetails.Create_Date        = DateTime.Today;
                            _LC_ProductionDetails.Create_User        = ((SessionUser)Session["SessionUser"]).UserId;
                            _LC_ProductionDetails.OCode = ((SessionUser)Session["SessionUser"]).OCode;

                            int result1 = masterBLL.InsertProductionProcces(_LC_ProductionDetails);
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }