Ejemplo n.º 1
0
 protected void btnadd_Click(object sender, EventArgs e)
 {
     i = obj.AddMenuItem(txtname.Text, ddntype.SelectedItem.Text, Convert.ToDecimal(txtrate.Text), "Admin", DateTime.Now.ToString());
     if (i > 0)
     {
         BindGrid();
         ClearFields();
         lblmsg.Text = "Item Added Sucessfully";
     }
 }