Dynamically create gridview with textboxes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kalkin
    New Member
    • Nov 2009
    • 6

    Dynamically create gridview with textboxes

    Hi

    I am having trouble with creating a gridview dynamically. Any help would be much appreciated.

    The Problem:

    I have a range of dates that changes, i want those dates to be the column headers and thus cannot create the columns in the asp page. Also under each column must be a textbox, or at the very least an editable label.

    How do i go about creating this gridview, or if anyone has any ideas as to how to do this another way i would be very grateful.

    Thanks in advance
  • Delerna
    Recognized Expert Top Contributor
    • Jan 2008
    • 1134

    #2
    An ordinary HTML table may be of use. Since you are using asp it would be very easy to document.write( "<td>" & DateValue & "</td>) for as many dates as you need.

    Comment

    Working...