I want to Delete a row in the Gridview which is in the update panel . But instead of the command button ., i took a link button to get a confirmation message. Now if I press ok
Set PK_ID to link button's command args like that
PK_ID
and access this PK_ID on event
protected void btn_manage_click(object sender, CommandEventArgs e) { string ID = e.CommandArgument.ToString(); //you delete code and gridview bind code }