i'm having trouble having 2 datagrids on the same page. if i have an edit column, how do i make the codebehind tell which datagrid i'm trying to edit? right now, if i click the edit button for an item on datagrid2, the appropriate index on datagrid1 will be the one chosen for editing.