protected void btnLevel1New_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(txtLevel1.Text.Trim())) { return; } string r = SideEffectBLL.Insert(txtLevel1.Text.Trim(), 1, null); ActionStatus.Text = r; txtLevel1.Text = ""; GridView1.DataBind(); }
protected void btnLevel3New_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(txtLevel3.Text.Trim())) { return; } if (GridView2.SelectedValue == null) { return; } string r = SideEffectBLL.Insert(txtLevel3.Text.Trim(), 3, (Guid)GridView2.SelectedValue); ActionStatus.Text = r; txtLevel3.Text = ""; GridView3.DataBind(); }