DataKeyNames="MATNR" OnRowCreated="SetItemVisibleFalse">
asp:BoundField DataField="xxx" visible="false" />
인 경우 CS단에서도 값을 받아 올 수가 없게 된다.
아래와 같이 Row 생성 시점에 처리를 해주면 CS단에서 값을 받아 처리할 수가 있다.
protected void SetItemVisibleFalse(object sender, GridViewRowEventArgs e)
{
e.Row.Cells[9].Visible = false;
e.Row.Cells[10].Visible = false;
e.Row.Cells[11].Visible = false;
}


::: 사람과 사람의 교감! 人터넷의 첫 시작! 댓글을 달아주세요! :::