Exemplo n.º 1
0
        protected void Row_Deleted(object sender, GridViewDeleteEventArgs e)
        {
            GridView g = (GridView)sender;
            string   k = g.DataKeys[e.RowIndex].Value.ToString();

            myservice.DeleteAdvertisementByID(new Guid(k));
            BindGridView();
            //Response.Redirect("ArticlesCategoryList.aspx");
        }