Пример #1
0
 protected void btnGravar_Click(object sender, EventArgs e)
 {
     if (!String.IsNullOrEmpty(txtNome.Text))
     {
         categoria.Nome = txtNome.Text;
         categoriaBLL.InsertCategory(categoria);
         LoadGridView();
     }
 }