Пример #1
0
 public DataSet getJobs(BEGetJobs beJobs)
 {
     SqlParameter[] param = new SqlParameter[4];
     param[0]       = new SqlParameter("@category", SqlDbType.NVarChar, 50);
     param[0].Value = beJobs.category;
     param[1]       = new SqlParameter("@location", SqlDbType.NVarChar, 50);
     param[1].Value = beJobs.location;
     param[2]       = new SqlParameter("@jobtitle", SqlDbType.NVarChar, 50);
     param[2].Value = beJobs.jobtitle;
     param[3]       = new SqlParameter("@searchoption", SqlDbType.NVarChar, 50);
     param[3].Value = beJobs.searchoption;
     return(SqlHelper.ExecuteDataset(connectionString, CommandType.StoredProcedure, "spsGetJobs", param));
 }
Пример #2
0
 public DataSet getJobs(BEGetJobs beJobs)
 {
     return(daJob.getJobs(beJobs));
 }