ItemDataBound Not responding

SumeetK

Newcomer
Joined
Feb 19, 2004
Messages
9
Dear All

I want to change the color of the datagrid row in the datagrid depending upon my condition .. something like

if ctype(e.item.cells(0).text,integer)=0 then
e.item.cell(3).backcolor= color.red
end if

but my cursor is not going to Datagrid_ItemDataboud section. Its binding the data to datagrid directly. What i think is that while loading the page it goes to itemdatabound section and checks the condition..

Any clues ?

Thanks in advance
Sumeetk
 
Back
Top