Gridview sorting - with template columns and stored procedure

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top