App_Code/component/ApplyRecord.cs

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections ;


namespace Hr.component
{
	public class ApplyRecord:Hr.component.DatabaseOperation 
	{
		private int personID;		
		private int companyID;
		
		public ApplyRecord()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		#region Properties of temp store
		public int PersonID
		{
			get
			{
				return personID;
			}
			set
			{
				personID = value;
			}
		}


		public int CompanyID
		{
			get
			{
				return companyID;
			}
			set
			{
				companyID = value;
			}
		}
		#endregion


		#region Functions of temp store

		public static void AddApplyRecord(ArrayList tempary)
		{
			SqlConnection myConn=new SqlConnection(strConn);
			SqlCommand myCm=new SqlCommand("AddApplyRecord",myConn);
			myCm.CommandType =CommandType.StoredProcedure ;

			myCm.Parameters.Add(new SqlParameter("@personID",SqlDbType.Int));
			myCm.Parameters["@personID"].Value =tempary[0];

			myCm.Parameters.Add(new SqlParameter("@companyID",SqlDbType.Int));
后面还有 188 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。