示例#1
0
        protected void LinkButton1_Click(object sender, EventArgs e)
        {
            LinkButton btn = sender as LinkButton;

            if (btn != null)
            {
                DINInList.Remove(btn.CommandArgument);
                DataListDINIn.DataBind();
            }
        }
示例#2
0
        protected void btnDINRemove_Click(object sender, ImageClickEventArgs e)
        {
            ImageButton btn = sender as ImageButton;

            if (btn != null)
            {
                DINInList.Remove(btn.CommandArgument);
                DataListDINIn.DataBind();
            }
        }