DataGrid-driven SQL updates

Discussion in 'ASP .Net' started by Stephan Bour, Dec 8, 2003.

  1. Stephan Bour

    Stephan Bour Guest

    Hi,
    I have a page that displays a number of SQL records tagged ³New² in the
    ³Status² column of the database. I¹d like to add a check box next to each
    ³New² item returned. The user could select any of the check boxes present in
    each returned record and click a Submit button that will update all the
    selected records to ³InProgress² in the ³Status² column of the database.
    Here are my questions:
    - Do I use "cmdCategoriesUpdate.ExecuteNonQuery();" for this?
    - Can I update all selected records in one pass? How?

    Thanks,
    Stephan.
     
    Stephan Bour, Dec 8, 2003
    #1
    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. Curt_C [MVP]

    How to reset DataGrid to view DB updates

    Curt_C [MVP], Feb 17, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    1,645
  2. anon

    SQL Data driven GUI

    anon, Apr 5, 2006, in forum: Java
    Replies:
    15
    Views:
    1,506
  3. =?Utf-8?B?SmViQnVzaGVsbA==?=

    Data-Driven Visibility in a Datagrid Cell?

    =?Utf-8?B?SmViQnVzaGVsbA==?=, Jun 21, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    458
    Winista
    Jun 21, 2006
  4. Jozef
    Replies:
    1
    Views:
    117
    Bob Barrows [MVP]
    Jan 22, 2006
  5. Neil Zanella
    Replies:
    3
    Views:
    112
    Ken Cox [Microsoft MVP]
    Jan 23, 2005
Loading...

Share This Page