GridView edit mode problem

Discussion in 'ASP .Net Web Controls' started by netgridedit, Aug 22, 2006.

  1. netgridedit

    netgridedit Guest

    I am using GridView, columns defined by TemplateField, SELECT is a stored
    procedure. The records returned from the SELECT are not always in the same
    order. This causes a problem when you go into the edit mode of GridView. It
    does a SELECT when it goes into the edit mode. So the data in the edit field
    is not the same as the view mode. I fixed the problem by changing the stored
    procedure to use ORDER BY ‘aKEY’ to ensure the records are in the same order
    upon a given SELECT.
     
    netgridedit, Aug 22, 2006
    #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. John J Lee
    Replies:
    3
    Views:
    549
    bruno at modulix
    Dec 1, 2005
  2. Edward Loper
    Replies:
    0
    Views:
    523
    Edward Loper
    Aug 7, 2007
  3. Frank Kurka
    Replies:
    8
    Views:
    342
  4. Jaime Stuardo

    GridView control enters edit mode when I click Edit link twice

    Jaime Stuardo, Apr 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    450
    Jaime Stuardo
    Apr 7, 2006
  5. jobs at webdos
    Replies:
    0
    Views:
    522
    jobs at webdos
    Oct 9, 2006
Loading...

Share This Page