Here&#039;s my code for the function, but I don&#039;t think the problem is here. I think it has to do with the page submitting, and the Grid binding. I seem to remember reading about this type of problem before... <BR><BR> public void dgrPages_ItemCommand(object sender, System.Web.UI.WebControls.DataGridCommandEventArgs e)<BR> {<BR> switch (e.CommandName)<BR> {<BR> case "Edit":<BR> lblDebug.Text += "Edit" + e.Item.Cells[0].Text;<BR> break;<BR>...<BR><BR>This code yields just "Edit" in the label. e.Item.Cells[0].GetType().ToString() returns tablecell. The binding only happens when (!Page.IsPostBack) <BR><BR>Any thoughts? Also, is there a better way to get a value when clicking a button? I happened to have the ID being in the 0th cell of the Grid so it should work this way, but there&#039;s got to be another way.