コード例 #1
0
        protected void categoryGrideView_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            Label     lblDlete = (Label)categoryGrideView.Rows[e.RowIndex].FindControl("lblcategory");
            DataTable dt       = dManager.DeleteCategory(lblDlete);

            categoryGrideView.DataSource = dt;
            categoryGrideView.DataBind();
        }