protected void Btn_add_Click(object sender, EventArgs e) { string deptcode = TB_deptCode.Text; string deptname = TB_deptName.Text; string contactname = TB_contactName.Text; string phone = TB_phone.Text; string fax = TB_fax.Text; string headname = TB_headName.Text; string collectionpoint = TB_collectionPoint.Text; string repname = TB_repName.Text; string headtitle = TB_headTitle.Text; string contacttitle = TB_contactTitle.Text; StoreBusinessLogic.AddNewDepartment(deptcode, deptname, contactname, phone, fax, headname, collectionpoint, repname, contacttitle, headtitle); Label1.Text = "Add Successful"; }