/// <summary>
        /// DataGrid 事件
        /// </summary>
        /// <param name="source"></param>
        /// <param name="e"></param>
        public void dgList_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
        {
            try
            {
                if ("Delete" == e.CommandName)
                {
                    string strCode = e.Item.Cells[0].Text.Trim();

                    if ("" == strCode)
                    {
                        return;
                    }

                    BLL.BiddingSupplier cbs = new RmsPM.BLL.BiddingSupplier();
                    cbs.BiddingSupplierCode = strCode;
                    cbs.BiddingSupplierDelete();

                    this.LoadData();
                }
            }
            catch (Exception ex)
            {
                ApplicationLog.WriteLog(this.ToString(), ex, "");
            }
        }
 /// <summary>
 ///删除投标单位
 /// </summary>
 public void DeleteAll(StandardEntityDAO dao)
 {
     try
     {
         ArrayList           saveIdChecked = new ArrayList();
         BLL.BiddingSupplier cbs           = new RmsPM.BLL.BiddingSupplier();
         cbs.dao = dao;
         //遍历每一行
         foreach (DataGridItem dataItem in this.dgList.Items)
         {
             string idChecked = dataItem.Cells[0].Text;
             cbs.BiddingSupplierCode = idChecked;
             cbs.BiddingSupplierDelete();
         }
     }
     catch (Exception ex)
     {
         ApplicationLog.WriteLog(this.ToString(), ex, "");
     }
 }