simple question about how asp forms relate to asp.net data grids etc.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • steve w

    #1

    simple question about how asp forms relate to asp.net data grids etc.

    Hi there

    I'm trying to do something that in ASP I could do easily. I want a
    form which will...

    1. Bind a record from a database to the text boxes etc. if the user
    has come from a summary page - i.e. this will be the details in a
    master-details page. An update button will show at the bottom of the
    form.

    2. Show empty text boxes if the user has not come from the summary
    page. An 'Add Record' button will show at the bottom of the form.

    How should I do this? I can easily create a form which allows users
    to Add a record, but I'm a bit confused as to how to bind data to the
    form controls if they've come from the summary page - do I need to put
    the whole form inside a repeater?

    I know this is a simple question, but basic pointers much appreciated.
    thanks
    steve
Working...