当前位置: 首页>>代码示例>>C#>>正文


C# BusinessObjects.FormViewParameter类代码示例

本文整理汇总了C#中IGRSS.BusinessObjects.FormViewParameter的典型用法代码示例。如果您正苦于以下问题:C# FormViewParameter类的具体用法?C# FormViewParameter怎么用?C# FormViewParameter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FormViewParameter类属于IGRSS.BusinessObjects命名空间,在下文中一共展示了FormViewParameter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: AddInwardDetailsTest

 public void AddInwardDetailsTest()
 {
     IGRSS.BusinessLogicLayer.InwardOutward target = new IGRSS.BusinessLogicLayer.InwardOutward();
     FormViewParameter Parameter = new FormViewParameter();
     IGRSS.DataAccessLayer.InwardOutward.Inward_OutwardRegisterDataTable dt = new IGRSS.DataAccessLayer.InwardOutward.Inward_OutwardRegisterDataTable();
     DataRow dr = dt.NewRow();
     dr["Inward_outwardId"] = new Guid();
     dr["RegisterType"] = "I";
     dr["DocumentNo"] = "2221";
     dr["InOutDate"] =DateTime.Now;
     dr["DocType"] = new Guid("f21071c4-076b-4040-bf45-412889457dae");
     dr["SentOfficeID"] = new Guid("916fd082-061a-45fb-91a4-33967243b4cf");
     dr["ReceivingOfficeID"] =new Guid("916fd082-061a-45fb-91a4-33967243b4cf");
     dr["DocumentSentFrom"] = "Chennai";
     dr["DocumentSentTo"] ="BANGALORE";
     dr["Description"] = "500";
     dr["StampValueAffixed"] = 20;
     dr["DeliveryType"] =new Guid("8d0413b8-75d9-4c46-9b0b-019b4dcb9253");
     dr["Remarks"] = "500";
     dr["CreatedBy"] ="RAJA";
     dt.Rows.Add(dr);
     Parameter.Values = dt.Rows[0];
     Assert.AreEqual(true,target.AddInwardDetails(Parameter), "IGRSS.BusinessLogicLayer.InwardOutward.AddInwardDetails did not return the expect" +
             "ed value.");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:25,代码来源:InwardOutwardTest.cs

示例2: odsBranch_Updating

 protected void odsBranch_Updating(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow)e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:BranchToBranchInward.aspx.cs

示例3: odsOfficeCommunicationById_Inserting

 protected void odsOfficeCommunicationById_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow) e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:OfficeCommunicationLKP.aspx.cs

示例4: OdsQualificationMaster_Inserting

 protected void OdsQualificationMaster_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow) e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:QualificationMaster.aspx.cs

示例5: odsInspectionCheckList_Inserting

 protected void odsInspectionCheckList_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
 {
     FormViewParameter Parameters = new FormViewParameter();
     Parameters.Values = (DataRow) e.InputParameters["Values"];
     e.InputParameters["Parameter"] = Parameters;
     e.InputParameters.Remove("Values");
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:7,代码来源:TestCheckList.aspx.cs

示例6: UpdateValuationForm

        public bool UpdateValuationForm(FormViewParameter ValFormParameter, DataTable DocDetails)
        {
            try
            {
                string curUser = Thread.CurrentPrincipal.Identity.Name;
                ValuationFormRow ValFormrow = (IGRSS.DataAccessLayer.Adjudication.ValuationFormRow)ValFormParameter.Values;
                Guid ValuationFormId = ValFormrow.OfficeId;

                IgrssAdapters.ValuationAdapter.UpdateValuationFormByValFormId(
                            ValFormrow.Village_CityName, ValFormrow.TPSchemeNo, ValFormrow.TPSchemeName, ValFormrow.FinalPlotNo, ValFormrow.CitySurveyNo,
                            ValFormrow.RevenueSurveyNo, ValFormrow.Ward_SubWardNo, ValFormrow.NameOfOwner, ValFormrow.AddressOfOwner,
                            ValFormrow.NameOfClaimingParty, ValFormrow.AddressOfClaimingParty, ValFormrow.AreaOfPlot, ValFormrow.AreaOfConstruction,
                            ValFormrow.YearOfConstruction, ValFormrow.NoOfFloors, ValFormrow.TypeOfProperty, ValFormrow.HeightOfCeiling,
                            ValFormrow.TypeOfTiles, ValFormrow.WallFurnishing, ValFormrow.NoOfBathrooms, ValFormrow.BathroomTilesHeight,
                            ValFormrow.NoOfToilets, ValFormrow.ToiletTilesHeight, ValFormrow.Parking, ValFormrow.DescOfProperty,
                            ValFormrow.ShopsOnGroundFloor, ValFormrow.IsPropertyInCommercial, ValFormrow.TypeOfElectricfication, ValFormrow.CompoundWallType,
                            ValFormrow.IsLightsOnCompoundWall, ValFormrow.WaterStorageFacility, ValFormrow.DrainageSystem, ValFormrow.NoOfLifts,
                            ValFormrow.AreaOfEachLift, ValFormrow.InternalRoad, ValFormrow.ValuatedBefore, ValFormrow.ValuationFormId, curUser, DateTime.Now);

                // Delete and Insert all the documents that are attached to this ValuationForm
                IgrssAdapters.AdjudicationDocumentAdapter.DeleteDocumentDetailByValuationFormId(ValuationFormId);
                foreach (DataRow DocDetail in DocDetails.Rows)
                {
                    IgrssAdapters.AdjudicationDocumentAdapter.AddAdjudicationDocument(ValuationFormId, (Guid)DocDetail["DocumentTypeId"], Convert.ToBoolean(DocDetail["Submitted"]), Convert.ToString(DocDetail["DocumentNumber"]), Convert.ToString(DocDetail["Remarks"]));
                }

                return true;
            }
            catch (Exception ex)
            {

                throw ex;
            }
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:34,代码来源:ValuationApplication.cs

示例7: AddNewRegistration

        public bool AddNewRegistration(FormViewParameter Parameter, DataTable PartyDetails, Guid Id, DataTable FeeDetails,DataTable DocDetails,Remarks rem)
        {
            IGRSS.DataAccessLayer.Registration.InputSheetRow row = (IGRSS.DataAccessLayer.Registration.InputSheetRow) Parameter.Values;
               Guid  ValuationFormId = Id;

            string curUser = Thread.CurrentPrincipal.Identity.Name;
            Guid RegistrationId = FileManager.OpenNewFile(row.OfficeId, "REG");
            FileManager.AddRemarkToFile(RegistrationId,rem.Subject,rem.Body);
            //ViewState["ValuationFormId"] = ValuationFormId;
            IgrssAdapters.InputSheet.AddNewInputSheet(RegistrationId, row.OfficeId, row.RegistrationTypeId,ValuationFormId, row.FilePrefix, row.FileSlNo, row.FileYear,
            row.ApplnDate, row.ApplicantName, row.ApplnAddress, row.PropertyValue, row.IsRented, row.LeasePeriodFrom, row.LeasePeriodTo,
            row.DepositAmount, row.Tax, row.YearlyRent, row.StampDutyUsed,  curUser, DateTime.Now);

            foreach (DataRow PartyDetail in PartyDetails.Rows)
            {
                IgrssAdapters.RegistrationPartyDetails.AddNewPartyDetails(Guid.NewGuid(), RegistrationId,

                (string) PartyDetail["PartyType"], (string) PartyDetail["Name"], (string) PartyDetail["Address"], (decimal) PartyDetail["Age"],
                (string) PartyDetail["Gender"], (Guid) PartyDetail["Religion"], (string) PartyDetail["Occupation"],
                (string) PartyDetail["Occupation"], curUser, DateTime.Now);

            }

            foreach (DataRow FeeDetail in FeeDetails.Rows)
            {
                IgrssAdapters.RegistrationFeeDetails.AddNewRegistrationFee(RegistrationId, (Guid) FeeDetail["FeeId"], Convert.ToDecimal(FeeDetail["Amount"]));
            }
            foreach (DataRow DocDetail in DocDetails.Rows)
            {

                IgrssAdapters.RegistrationDocumentCheckList.AddNewRegistrationDocuments(RegistrationId, (Guid) DocDetail["DocumentTypeId"], Convert.ToBoolean(DocDetail["Submitted"]), Convert.ToString(DocDetail["DocumentNumber"]), Convert.ToString(DocDetail["Remarks"]));
            }

             	return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:35,代码来源:Registration.cs

示例8: AddNewActMaster

 public bool AddNewActMaster(FormViewParameter Parameter)
 {
     string curUser = Thread.CurrentPrincipal.Identity.Name;
     Guid ActId=Guid.NewGuid();
     IGRSS.DataAccessLayer.ActMaster.ActMasterRow row = (IGRSS.DataAccessLayer.ActMaster.ActMasterRow) Parameter.Values;
     IgrssAdapters.ActMasterAdapter.AddNewActMaster(ActId, row.DescriptionOfAct, row.NameOfAct, curUser, DateTime.Now);
     return true;
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:8,代码来源:RefundActMaster.cs

示例9: AddNewOffices

        public bool AddNewOffices(FormViewParameter Parameter)
        {
            //        Guid OfficeId = Guid.NewGuid();
            //        string curUser = Thread.CurrentPrincipal.Identity.Name;
            //        IGRSS.DataAccessLayer.OfficesMaster.OfficeMasterRow row = (IGRSS.DataAccessLayer.OfficesMaster.OfficeMasterRow) Parameter.Values;

            //        IgrssAdapters.OfficesAdapter.AddNewOffice(OfficeId, row.OfficeName, row.OfficeTypeId, row.Description, curUser, DateTime.Now);
            return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:9,代码来源:OfficeMaster.cs

示例10: AddNewOfficeCommunication

        public bool AddNewOfficeCommunication(FormViewParameter Parameter)
        {
            string curUser = Thread.CurrentPrincipal.Identity.Name;
            IGRSS.DataAccessLayer.OfficesMaster.OfficesCommunication_LKPRow  row= (IGRSS.DataAccessLayer.OfficesMaster.OfficesCommunication_LKPRow)Parameter.Values;

            IgrssAdapters.OfficeCommunication_LKP.AddNewOfficeCommunication(row.OfficeId, row.CommunicationKey, row.CommunicatingOffice, row.Description, row.IsActive, curUser, DateTime.Now);

            return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:9,代码来源:OfficeCommunicationLKP.cs

示例11: AddNewUserInOfficeRoles

        public bool AddNewUserInOfficeRoles(FormViewParameter Parameter,string UserName)
        {
            IGRSS.DataAccessLayer.WorkflowSupprot.UsersInOfficeRolesRow row = (IGRSS.DataAccessLayer.WorkflowSupprot.UsersInOfficeRolesRow) Parameter.Values;
            string curUser = Thread.CurrentPrincipal.Identity.Name;

            IgrssAdapters.UsersInOfficeRole.UpdateUserInOfficeRoles(UserName, row.DesignationID, row.OfficeId, row.Comments, row.IsActive, curUser, DateTime.Now);

            return true;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:9,代码来源:ManageUserRoles.cs

示例12: AddVendorDetails

 public void AddVendorDetails(FormViewParameter Parameter)
 {
     string curUser = Thread.CurrentPrincipal.Identity.Name;
     try
     {
         IGRSS.DataAccessLayer.VendorMaster.VendorMasterRow Row = (IGRSS.DataAccessLayer.VendorMaster.VendorMasterRow) Parameter.Values;
         VendorAdapter.AddNewVendorDetails(Guid.NewGuid(), Row.VendorType, Row.CompanyName, Row.VendorName, Row.Address, Row.Phone, Row.ContactPerson, curUser, DateTime.Now);
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "DAL"))
             throw;
     }
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:14,代码来源:VendorMaster.cs

示例13: AddNewEmployeeMaster

        public bool AddNewEmployeeMaster(FormViewParameter Parameter, DataTable dtQualification)
        {
            IGRSS.DataAccessLayer.Employee.EmployeeMasterRow row = (IGRSS.DataAccessLayer.Employee.EmployeeMasterRow) Parameter.Values;
            DataTable dt = IgrssAdapters.EmployeeMaster.SelectEmployeeDetailsByEmpNo(row.EmployeeNo);
            if (dt.Rows.Count==0)
            {
                Guid EmployeeId = Guid.NewGuid();
                string curUser = Thread.CurrentPrincipal.Identity.Name;
                try
                {
                    IgrssAdapters.EmployeeMaster.InsertEmployeeMaster(EmployeeId,
                                row.EmployeeNo,
                                row.FirstName,
                                row.MiddleName,

                                row.PostalAddress,
                                row.PermanentAddress,
                                row.DateOfBirth,
                                row.FatherName,
                                row.Height,
                                row.VisibleMarks,
                                row.OfficeID,
                                row.DepartmentID,
                                row.DesignationID,
                                row.Salary,
                                row.Allowances,
                                row.StartDate,

                                curUser,
                                DateTime.Now);

                    foreach (DataRow drQualifications in dtQualification.Rows)
                    {

                        IgrssAdapters.EmployeeQualifications.InsertEmployeeQualification(Guid.NewGuid(), EmployeeId, (Guid) drQualifications["QualificationID"], (string) drQualifications["Details"], curUser, DateTime.Now);
                    }

                }

                catch (Exception ex)
                {
                    if (ExceptionPolicy.HandleException(ex, "DAL"))
                        throw;
                }
                return true;
            }
            else
                return false;
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:49,代码来源:Employee.cs

示例14: AddLeaveDetails

 public bool AddLeaveDetails(FormViewParameter Parameter)
 {
     string curUser = Thread.CurrentPrincipal.Identity.Name;
          try
          {
              IGRSS.DataAccessLayer.Leave.LeaveRegisterRow Row = (IGRSS.DataAccessLayer.Leave.LeaveRegisterRow) Parameter.Values;
              IgrssAdapters.LeaveAdapter.AddLeaveDetails(Guid.NewGuid(), Row.EmployeeID, Row.ApplnDate, Row.ApplicableRules, Row.LeaveType, Row.LeaveFrom, Row.LeaveTo, Row.WorkingDays, Row.Reason, Row.ResumedDutyOn, curUser, DateTime.Now);
          }
          catch (Exception ex)
          {
              if (ExceptionPolicy.HandleException(ex, "DAL"))
                  throw;
          }
          return true;
 }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:15,代码来源:Leave.cs

示例15: AddVendorOffence

        public void AddVendorOffence(FormViewParameter Parameter, Guid LicenseId)
        {
            try
            {
                IGRSS.DataAccessLayer.VendorOffence.VendorOffenceRow Row = (IGRSS.DataAccessLayer.VendorOffence.VendorOffenceRow)Parameter.Values;
                FileidId = FileManager.OpenNewFile(Row.OfficeId, "LIC");
                IgrssAdapters.VOffenceAdapter.AddNewVendorOffence(FileidId, Row.OfficeId, Row.Name, Row.Summary, Row.Details, Row.OffenceDate, LicenseId);

            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                    throw;
            }
        }
开发者ID:UrviGandhi,项目名称:IGRSS,代码行数:15,代码来源:VendorOffence.cs


注:本文中的IGRSS.BusinessObjects.FormViewParameter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。