Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Gridview sorting - with template columns and stored procedure

Reply
Thread Tools

Gridview sorting - with template columns and stored procedure

 
 
=?Utf-8?B?RG9ydGU=?=
Guest
Posts: n/a
 
      12-14-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
template columns and bound columns in gridview Vinki ASP .Net Web Controls 2 04-25-2007 04:22 PM
'Procedure or function <stored procedure name> has too many arguments specified',,,ARGH! Mike P ASP .Net 0 06-19-2006 01:19 PM
database columns vs. gui columns and sorting ittay.dror@gmail.com Java 5 03-04-2006 10:48 AM
Datagrid custom sorting and paging using stored procedure Mo ASP .Net 1 01-30-2004 07:56 PM
New Stored Procedure Template in .Net Sarmad Aljazrawi ASP .Net 0 12-16-2003 11:36 AM



Advertisments