Click to See Complete Forum and Search --> : help me out plz


komal
01-11-2007, 09:59 AM
asp.net----c#


after selecting the whole table through stored procedure
i am binding it ioto a dataset

and finally into datagrid

for each row before binding i want to check few condition and accordingly need to insert its value

eg

if status=1------i have to write "active"

or if imagepath is null thn call a function........


so how to perform all this stuff dynamically...i.e at run time

scottrickman
01-12-2007, 06:36 AM
use the OnItemBinding() event