public DeleteOnePublication ( int personid, long subjectID, string pubid, |
||
personid | int | |
subjectID | long | |
pubid | string | |
PropertyListXML | ||
리턴 | void |
protected void deleteOne_Onclick(object sender, EventArgs e) { ImageButton lb = (ImageButton)sender; string key = lb.CommandArgument; //string key = grdEditPublications.DataKeys[0].Value.ToString(); Utilities.DataIO data = new Profiles.Edit.Utilities.DataIO(); data.DeleteOnePublication(Convert.ToInt32(Session["ProfileUsername"]), key); this.Counter = 0; grdEditPublications.DataBind(); upnlEditSection.Update(); }
protected void deleteOne_Onclick(object sender, EventArgs e) { ImageButton lb = (ImageButton)sender; string key = lb.CommandArgument; //string key = grdEditPublications.DataKeys[0].Value.ToString(); Utilities.DataIO data = new Profiles.Edit.Utilities.DataIO(); data.DeleteOnePublication(Convert.ToInt32(Session["ProfileUsername"]), Convert.ToInt64(Session["NodeID"]), key, this.PropertyListXML); this.Counter = 0; grdEditPublications.DataBind(); upnlEditSection.Update(); }