Exemplo n.º 1
0
    protected void lbDelete_Click(object sender, EventArgs e)
    {
        ImageButton linkButton = new ImageButton();

        linkButton = (ImageButton)sender;
        bool result = GiftManager.DeleteGift(Convert.ToInt32(linkButton.CommandArgument));

        GiftManager.LoadGiftPage(gvGift, rptPager, 1, ddlPageSize);
    }