public void Refresh() { txtTeacherName.Text = ""; txtTeacherAddress.Text = ""; txtTeacherEmail.Text = ""; txtContactNo.Text = ""; txtCreditTaken.Text = ""; DepartmentDropDownList.ClearSelection(); DesignationDropDownList.ClearSelection(); }