Gridview sorting - with template columns and stored procedure

Discussion in 'ASP .Net' started by =?Utf-8?B?RG9ydGU=?=, Dec 14, 2005.

  1. Hi,

    I use the gridview control to display data. I use a dataadapter to fill a
    datatable from an SQL server - the command is a stored procedure.
    Furthermore I have a couple of template columns (one with a "Lookup"
    function that displays customized data in the column).

    When using the gridview built in support for sorting, data should be
    selected by using a datasource object, with a SQL command specified as text
    (not a stored procedure) and the grid should not have any template columns.

    Does anyone have a link to articles etc. that describe how to make a manual
    sorting of the gridview data or how to use the built in sorting with template
    columns and a stored procedure?

    Thanks,
    Dorte
     
    =?Utf-8?B?RG9ydGU=?=, Dec 14, 2005
    #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. Sarmad Aljazrawi

    New Stored Procedure Template in .Net

    Sarmad Aljazrawi, Dec 16, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    554
    Sarmad Aljazrawi
    Dec 16, 2003
  2. Mo
    Replies:
    1
    Views:
    4,242
    FFlannery
    Jan 30, 2004
  3. Replies:
    5
    Views:
    634
  4. Mike P
    Replies:
    0
    Views:
    3,382
    Mike P
    Jun 19, 2006
  5. Vinki

    template columns and bound columns in gridview

    Vinki, Apr 25, 2007, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    925
    Vinki
    Apr 25, 2007
Loading...

Share This Page