App_Code/component/PersonApply.cs

(开头部分) 7KB

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

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

namespace Hr.component
{
	public class PersonApply:DatabaseOperation
	{
		public PersonApply()
		{
			//空的构造函数
		}

		public static DataSet GetPersonApplyInfo()
		{
			String strsql;
			strsql="SELECT * FROM PersonApply";
			try
			{
				return ExecuteReturnDS(strsql);				
			}
			catch
			{
				throw new Exception("读取信息发生错误!");
			}	
		}
        //删除简历信息
        public static void Delete(int id)
        {
            strSQL = "Delete From PersonApply Where PersonApplyID=" + id;


            try
            {
                ExecuteNonQuery(strSQL);
            }
            catch
            {
                throw new Exception("删除失败!");
            }
          
        }
		public DataRow GetPersonInfo(int personId)
		{
			DataSet myDs;
			strSQL = "SELECT name,sex,email,phone,address,addrNum from PersonApply Where personID=" + personId.ToString();
			try
			{
				myDs = ExecuteReturnDS(strSQL);
				return myDs.Tables[0].Rows[0];				
			}
			catch
			{
				throw new Exception("读取信息发生错误!");
			}
		}

		public DataRow GetMyResume(int personId)
		{
后面还有 213 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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