示例#1
0
    protected void ImageBtnDel_Click(object sender, ImageClickEventArgs e)
    {
        int    Mid  = Int32.Parse(Request.QueryString["Mi"].ToString());
        string Wnum = Labelnum.ToolTip;

        if (Wnum != "")
        {
            LearnSite.BLL.Works wbll = new LearnSite.BLL.Works();
            wbll.Delmywork(Mid, Wnum);
            System.Threading.Thread.Sleep(200);//延时
            Readwork();
            showflash();
        }
    }
示例#2
0
    protected void ImageBtnDel_Click(object sender, ImageClickEventArgs e)
    {
        string Wnum = Labelnum.ToolTip;
        string Wmid = LabelMid.Text;

        if (Wnum != "" && Wmid != "")
        {
            LearnSite.BLL.Works wbll = new LearnSite.BLL.Works();
            wbll.Delmywork(Int32.Parse(Wmid), Wnum);
            System.Threading.Thread.Sleep(200);//延时
            Readwork();
            showflash();
        }
    }