Exemplo n.º 1
0
    private void XoaMonAn()
    {
        string strMaMonAn = (string)Request["MaMonAn"];

        int      maMonAn = int.Parse(strMaMonAn);
        MonAnBUS bus     = new MonAnBUS();
        bool     flag    = bus.XoaMonAn(maMonAn);

        XL_THE        the       = new XL_THE("goc");
        XL_THUOC_TINH thuoctinh = new XL_THUOC_TINH("kq", flag ? "1" : "0");

        the.Danh_sach_thuoc_tinh.Add(thuoctinh);
        string chuoi = the.Chuoi();

        XL_CHUOI.XuatChuoi(Response, chuoi);
    }