• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

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?
0
TonyReba
Asked:
TonyReba
  • 3
  • 2
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
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.
0
 
TonyRebaAuthor Commented:
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?
0
 
Carl TawnSystems and Integration DeveloperCommented:
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.
0
 
TonyRebaAuthor Commented:
well I need to be able to update ,delete in the backend. thats all. so should I go with the gridview?
0
 
Carl TawnSystems and Integration DeveloperCommented:
I would. If you need to edit the data that you are showing, and you want it in a tabular format, then the GridView with certainly be the easiest to work with.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now