I got two gridviews in the same page, which basically displays the same type of data (different amount, same structure, same design...). There is a lot of conditions inside the RowDataBound that are all the same (99%), so I wanted to reduce the code. Use it once.
I thought I'd use the same RowDataBound. It works all right.
However, I need to make the one condition (the rest ... 1%) that is something like if(leftgrid) then display a star if(rightgrid) then display no star .... something like that...
How do i do that ?
Thanks