What is the best control for this job?

Discussion in 'ASP .Net Web Controls' started by Kyle A. Miller, Nov 21, 2005.

  1. I understand the DataGrid is for editing a single record at a time, and
    I haven't had luck pulling iterating through the Items pulling back the
    values of controls in the grid. So, I am asking what is the best control
    for the following? And how would you achieve the task with recommended
    control?

    I want to present the user with two grids on a page. The user can change
    the "Qty" value for each record. After the user has changed the values,
    they can post the changes made to the two separate grids by clicking a
    button.

    I want to loop through the rows in the grid, fetch the values the user
    entered, and apply to the database. I assume I will be doing this in the
    Click event of button. Like I said before, I attempt this with the
    DataGrid with no luck. Every time I queried the control's value, it was
    the same for all Items.

    Should I use the Repeater or DataList instead? If so, what is the proper
    method to achieve what I described above?
     
    Kyle A. Miller, Nov 21, 2005
    #1
    1. Advertising

  2. Kyle A. Miller wrote:
    > Should I use the Repeater or DataList instead? If so, what is the proper
    > method to achieve what I described above?


    In case this affects the answer, I am using ASP.NET 1.1.
     
    Kyle A. Miller, Nov 21, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    689
  2. Julien Buratto

    [Job] Symbian C++ job

    Julien Buratto, Feb 3, 2004, in forum: C++
    Replies:
    2
    Views:
    581
    Julien Buratto
    Feb 3, 2004
  3. swordedotcom
    Replies:
    0
    Views:
    358
    swordedotcom
    Apr 23, 2006
  4. swordedotcom
    Replies:
    0
    Views:
    324
    swordedotcom
    Apr 23, 2006
  5. swordedotcom
    Replies:
    0
    Views:
    382
    swordedotcom
    Apr 23, 2006
Loading...

Share This Page