Update all rows in GridView & DDL in cell

Discussion in 'ASP .Net Datagrid Control' started by Bruno Alexandre, May 16, 2006.

  1. Hi Guys,

    I manage to do what I want with the GridView, using DataTable to
    popultate the GridView with just the products from the Office Stock

    I just show the products that the Office have in Stock and the
    quantities, and I'm using a check box at the end of each row so the user can
    selected (so that item with the quantity will be deleted from the Stock DB).

    I have 2 question regarding this:

    1. I have a textbox with the quantity Value and a RangeValidator so the
    user can't choose more that the existing quantity... how can I use a
    DropDownList insetad? How can I populate the ddl from 0 to the quantity that
    the user have that item in stock? (I'm using a DataTable)

    2. when the user check all the itens (with a click in each checkbox he
    want to remove from stock) How can I know row by row witch checkboxes are
    selected ??? do I have to update each row individualy??? for each checkbox
    item?

    Thank you in Advance for all the help you can give me on this.

    --

    Bruno Alexandre
    (a Portuguese in KĂžbenhanv, Danmark)
     
    Bruno Alexandre, May 16, 2006
    #1
    1. Advertisements

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. steve roszko
    Replies:
    1
    Views:
    1,988
    steve
    Aug 12, 2003
  2. Bruno Alexandre

    Update all rows in GridView & DDL in cell

    Bruno Alexandre, May 16, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    3,035
    Bruno Alexandre
    May 16, 2006
  3. mesut
    Replies:
    0
    Views:
    846
    mesut
    Feb 19, 2007
  4. pwk283
    Replies:
    0
    Views:
    425
    pwk283
    Nov 9, 2007
  5. S_K
    Replies:
    1
    Views:
    4,356
    Yankee Imperialist Dog
    Jun 5, 2008
  6. VijayRama
    Replies:
    2
    Views:
    2,645
    Gregory A. Beamer
    Oct 12, 2009
  7. Dev
    Replies:
    3
    Views:
    1,119
  8. Memi

    Update Multiple Rows in GridView

    Memi, May 19, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    892
Loading...