private void OnDelete() { string sAppend = hV.Value.Trim(); if (!string.IsNullOrEmpty(sAppend)) { string[] orderIds = sAppend.Split(new char[] { '|' }, StringSplitOptions.RemoveEmptyEntries); if (orderIds.Length > 0) { if (bll == null) { bll = new BLL.Order(); } if (bll.DeleteBatch(orderIds.ToList <string>())) { Bind(); } } } }