DetailsView

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jmprescott
    New Member
    • Jul 2009
    • 41

    DetailsView

    Hi all, I've been trying to teach myself about ASP, and I can't find a lot of information on certain things. One being the DetailsView. What I'm trying to do is put it into Edit mode, but be able to have more than just text boxes. Some of the fields need to be dropdown, etc. Is there a way to change this around? Or would I have to completely change the way I'm doing it.

    Also, I'm linking to the page that my DetailsView is on from a master GridView table. When the user clicks on an ID number, that's the record I want to pull up the details on. Is there a way to get only that record without having to put it in the SELECT statement? I'm afraid if I do, then that'll be the ONLY record they'll be able to see, and I'd rather have it so they're able to page through each individual record.

    Any help would be great! thanks.
  • jmprescott
    New Member
    • Jul 2009
    • 41

    #2
    Actually, I figured out the first question. I had to convert the fields to TemplateFields, then I was able to modify the EditItemTemplat e property.

    Still looking for an answer to the second part :)

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      I don't understand what you're trying to do.
      The user clicks on a row....the DetailsView for that row is displayed...

      What is this business about paging?
      Not sure what you are getting at about the Select statement either...

      -Frinny

      Comment

      Working...