-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreateSchedule.aspx.cs
40 lines (37 loc) · 1.33 KB
/
CreateSchedule.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ERecruitmentFactoryBO;
using ERecruitmentFactoryBLL;
using Types;
using System.Windows.Forms;
namespace WebApplication1
{
public partial class CreateSchedule : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Schedule1_Click1(object sender, EventArgs e)
{
IBGCScheduleBO objbgcschedulebo = ERecruitmentFactoryBO.BGC_ScheduleBOFactory.createBGCScheduleBO();
try
{
objbgcschedulebo.From_Date = Convert.ToDateTime(txtfrom.Text);
objbgcschedulebo.To_Date = Convert.ToDateTime(txtto.Text);
objbgcschedulebo.Location = ddlLocation.SelectedValue;
objbgcschedulebo.Administrator_Id = Convert.ToInt32(ddlSchedule.SelectedValue);
IBGCScheduleBLL objbgcschedulebll = ERecruitmentFactoryBLL.BGCScheduleBLLFactory.createBGCScheduleBLL();
int ret=objbgcschedulebll.createBGCSchedule(objbgcschedulebo);
//MessageBox.Show("BGC Administrator Selected");
}
catch
{
throw;
}
}
}
}