Backup/component/CompanyOffer.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections ;
namespace Hr.component
{
public class CompanyOffer:DatabaseOperation
{
public CompanyOffer()
{
}
public static DataSet GetCompanyOffer()
{
String strsql;
strsql="SELECT * FROM CompanyOffer";
try
{
return ExecuteReturnDS(strsql);
}
catch
{
throw new Exception("读取信息发生错误!");
}
}
public DataRow GetCompanyInfo(int companyId)
{
DataSet myDs;
strSQL = "SELECT companyName,vocation,email,phone,address,addrNum from CompanyOffer Where companyID=" + companyId.ToString();
try
{
myDs = ExecuteReturnDS(strSQL);
return myDs.Tables[0].Rows[0];
}
catch
{
throw new Exception("读取信息发生错误!");
}
}
public DataRow GetMyCareer(int companyId)
{
DataSet myDs;
strSQL = "SELECT workPosition,giveNum,workCity,discribe,request,publicTime,lookTimes from CompanyOffer Where companyID=" + companyId.ToString();
try
{
myDs = ExecuteReturnDS(strSQL);
return myDs.Tables[0].Rows[0];
}
catch
{
throw new Exception("读取信息发生错误!");
}
}
public void UpdateCompanyInfo(ArrayList tempary)
{
后面还有 136 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
