Hi,
Is that a template column, or a databound column you're trying to access?
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"simon" <> wrote in message
news:uN2os$...
I would like to read the text from my dataGrid cell.
Private Sub dgdPie_ItemCommand(ByVal source As Object, ByVal e As
System.Web.UI.WebControls.DataGridCommandEventArgs ) Handles
dgdPie.ItemCommand
If e.CommandName = "PieName" Then 'user clicks on link button
cellText=e.Item.Cells(4).text
end if
end sub
CellText is always '', no matter which cell I read.
I don't know why? I have text in all cells.
Regards,S