Regarding display dynamic data into the gridview column?

Mar 31 2010 2:56 AM
hi friend
i m developing student attendance report for examination.i have the database table which contain following columns:

Id            Name                Login            CenterName
1                A                       1                       p    
2                B                      NULL                  H        
3                C                       1                       Y
4                D                      NULL                  Z

Now i want display ID ,Name field into the gridview column and one more column is Present or Absent column
I want show/display my gridview below format.
(Note: no."1" reprsent the present of candiate and "NULL" represent the Absent of candiate;                  )
ID          Name          Present/Absent
1                A                 Present      
2                B                 Absent              
3                C                Present    
4                D                Absent    
I hope u will understand my requirement.
so plz anyone suggest me how should i procedd.Becoz i dont know how to use gridview.plz help me
Thanks and Regards
pash                           

Answers (1)