private void BtnAdd_Click(object sender, System.Web.UI.ImageClickEventArgs e) { Role role = new Role(); role.Description = TextBox1.Text; try { role.Create(); } catch { } TextBox1.Text = ""; dataBind(); }