W
Wayne Carlaw
Why does the e.Item.Cells[3].Text value always return empty? Without this
routine (or if I comment out the guts), the text exists.
private void dg_ItemDataBound(Object sender, DataGridItemEventArgs e) {
if((e.Item.ItemType == ListItemType.Item) || (e.Item.ItemType ==
ListItemType.AlternatingItem)) {
string item = e.Item.Cells[3].Text;
e.Item.Cells[3].Text = item;
}
}
Thanks.
routine (or if I comment out the guts), the text exists.
private void dg_ItemDataBound(Object sender, DataGridItemEventArgs e) {
if((e.Item.ItemType == ListItemType.Item) || (e.Item.ItemType ==
ListItemType.AlternatingItem)) {
string item = e.Item.Cells[3].Text;
e.Item.Cells[3].Text = item;
}
}
Thanks.