Link to home
Start Free TrialLog in
Avatar of TonyReba
TonyRebaFlag for United States of America

asked on

gridview or html table ??

I was requested to build a table with updatable fields, is sort of a gridview but all the cell labels will be static , but I need to chnage the ability to chnage the color according to a drop down filed which will select the status of the room.. Would I go for a gridview or just create a table and have those fields some how pull the status from a db?
do you prefer a GridView or a HTML table?

Whats the best approach?
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Personally I would still go with a GridView. It's going to render as a HTML table anyway, but you get the added programmability should you need it.
Avatar of TonyReba

ASKER

How about ListView?

I guess, the only concer is that I have to somehitng like            

Room                         Floor                                     Status
101                               1                                         open
102                               2                                         occupied
103
(fixed number )         (fixed number )                        (chnage)

I need to update the status regulary, so whats the best thig I should go?
Not sure a ListView would necessarily be the best option. A Repeater might work for you, it's more lightweight than the GridView and you could still configure it to output a table. I guess it really depends on how much you need to customize the behaviour.
well I need to be able to update ,delete in the backend. thats all. so should I go with the gridview?
ASKER CERTIFIED SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial