protected void Button1_Click(object sender, EventArgs e) { objBEL = new MasterBEL(); objDAL = new ClassDAL(); objBEL.feedbackCategory = TextBox1.Text; Label1.Text = objDAL.AddFeedbackCategory(objBEL); GridView1.DataBind(); }
protected void Button1_Click(object sender, EventArgs e) { objBEL = new MasterBEL(); objDAL = new ClassDAL(); objBEL.designation = TextBox1.Text; Label1.Visible = true; Label1.Text = objDAL.AddDesignation(objBEL); GridView1.DataBind(); }
protected void Button1_Click(object sender, EventArgs e) { objBEL = new MasterBEL(); objDAL = new ClassDAL(); objBEL.course = DropDownList1.SelectedValue; objBEL.year = TextBox2.Text; Label1.Text = objDAL.AddYear(objBEL); GridView1.DataBind(); }
protected void Button1_Click1(object sender, EventArgs e) { objBEL = new MasterBEL(); objDAL = new ClassDAL(); objBEL.subject = TextBox1.Text; objBEL.course = DropDownList1.SelectedValue; objBEL.branch = DropDownList3.SelectedValue; objBEL.year = DropDownList4.SelectedValue; Label1.Text = objDAL.AddSubject(objBEL); GridView1.DataBind(); }
protected void Button1_Click1(object sender, EventArgs e) { Label1.Visible = true; if (DropDownList2.SelectedIndex == 0) { Label1.Text = "Select a Valid value"; } else { objBEL = new MasterBEL(); objDAL = new ClassDAL(); objBEL.designation = TextBox1.Text; Label1.Visible = true; Label1.Text = objDAL.AddDesignation(objBEL); GridView1.DataBind(); } }
protected void Button1_Click(object sender, EventArgs e) { Label1.Visible = true; if (DropDownList2.SelectedIndex == 0 || DropDownList1.SelectedIndex == 0) { Label1.Text = "Select a Valid value"; } else { objBEL = new MasterBEL(); objDAL = new ClassDAL(); objBEL.branch = TextBox1.Text; objBEL.course = DropDownList1.SelectedValue; Label1.Text = objDAL.AddBranch(objBEL); } GridView1.DataBind(); }
protected void Button1_Click1(object sender, EventArgs e) { Label1.Visible = true; if (DropDownList2.SelectedIndex == 0 || DropDownList1.SelectedIndex == 0) { Label1.Text = "Select a Valid value"; } else { objBEL = new MasterBEL(); objDAL = new ClassDAL(); objBEL.examType = TextBox1.Text; objBEL.course = DropDownList1.SelectedValue; objBEL.dur = int.Parse(TextBox2.Text); Label1.Text = objDAL.AddExamType(objBEL); GridView1.DataBind(); } }