Updating the datagrid values

Discussion in 'ASP .Net' started by Murali, Mar 25, 2008.

  1. Murali

    Murali Guest

    Hi All,

    I have an asp.net datagrid and it contains six rows. I want to update
    those values into the database but i dont want to use for each in the
    datagriditem collection.

    How I can do that ?
     
    Murali, Mar 25, 2008
    #1
    1. Advertising

  2. Hello Murali,

    Why not to use databinding via DataGrid.DataSource property?

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    M> Hi All,
    M>
    M> I have an asp.net datagrid and it contains six rows. I want to update
    M> those values into the database but i dont want to use for each in the
    M> datagriditem collection.
    M>
    M> How I can do that ?
    M>
     
    Michael Nemtsev [MVP], Mar 25, 2008
    #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. Paul Aspinall
    Replies:
    1
    Views:
    2,508
    S. Justin Gengo
    Aug 11, 2003
  2. Patrick Delifer

    Updating Datagrid from outside datagrid

    Patrick Delifer, May 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    346
    Natty Gur
    May 4, 2004
  3. A P

    Updating Datagrid Values

    A P, Apr 6, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    3,831
    Elton Wang
    Apr 6, 2005
  4. nicholas
    Replies:
    2
    Views:
    394
    nicholas
    Apr 22, 2005
  5. news.rcn.com
    Replies:
    2
    Views:
    1,147
    Roedy Green
    Dec 10, 2007
Loading...

Share This Page