protected void gvList_RowCommand(object sender, GridViewCommandEventArgs e) { int suiteId = Convert.ToInt32(e.CommandArgument); NoName.NetShop.Solution.BLL.SuiteBll sbll = new NoName.NetShop.Solution.BLL.SuiteBll(); if (e.CommandName == "del") { sbll.Delete(suiteId); this.BindList(); } }