Click here to Skip to main content
15,901,205 members
Home / Discussions / Database
   

Database

 
QuestionSQL For XML Query [modified] Pin
GaryWoodfine 6-Mar-07 5:53
professionalGaryWoodfine 6-Mar-07 5:53 
AnswerRe: SQL For XML Query Pin
Colin Angus Mackay6-Mar-07 21:30
Colin Angus Mackay6-Mar-07 21:30 
GeneralRe: SQL For XML Query Pin
GaryWoodfine 6-Mar-07 22:36
professionalGaryWoodfine 6-Mar-07 22:36 
GeneralRe: SQL For XML Query Pin
Colin Angus Mackay7-Mar-07 10:00
Colin Angus Mackay7-Mar-07 10:00 
GeneralRe: SQL For XML Query Pin
GaryWoodfine 6-Mar-07 23:20
professionalGaryWoodfine 6-Mar-07 23:20 
GeneralRe: SQL For XML Query Pin
Colin Angus Mackay7-Mar-07 10:01
Colin Angus Mackay7-Mar-07 10:01 
Questionopening ado recordset for update is very very slow Pin
gritter6-Mar-07 5:16
gritter6-Mar-07 5:16 
AnswerRe: opening ado recordset for update is very very slow Pin
andyharman6-Mar-07 6:52
professionalandyharman6-Mar-07 6:52 
GeneralRe: opening ado recordset for update is very very slow Pin
gritter6-Mar-07 7:31
gritter6-Mar-07 7:31 
QuestionDataBase BackUp And Restore Remote Server Pin
Gali yugan6-Mar-07 3:11
Gali yugan6-Mar-07 3:11 
AnswerRe: DataBase BackUp And Restore Remote Server Pin
Mark J. Miller7-Mar-07 6:23
Mark J. Miller7-Mar-07 6:23 
QuestionHow to find foreign key for a given table in sql server 2005 Pin
NK76-Mar-07 1:11
NK76-Mar-07 1:11 
AnswerRe: How to find foreign key for a given table in sql server 2005 Pin
Pete O'Hanlon6-Mar-07 1:24
mvePete O'Hanlon6-Mar-07 1:24 
GeneralRe: How to find foreign key for a given table in sql server 2005 Pin
NK76-Mar-07 1:39
NK76-Mar-07 1:39 
QuestionRAISERROR Pin
topcatalpha6-Mar-07 0:12
topcatalpha6-Mar-07 0:12 
AnswerRe: RAISERROR Pin
Pete O'Hanlon6-Mar-07 1:20
mvePete O'Hanlon6-Mar-07 1:20 
GeneralRe: RAISERROR Pin
topcatalpha6-Mar-07 5:19
topcatalpha6-Mar-07 5:19 
Questionto connect an access database in vb.net windows based Pin
roma_sayed5-Mar-07 22:50
roma_sayed5-Mar-07 22:50 
AnswerRe: to connect an access database in vb.net windows based Pin
Parwej Ahamad6-Mar-07 7:02
professionalParwej Ahamad6-Mar-07 7:02 
QuestionSQL DATASOURCE Pin
Sam Heller5-Mar-07 22:40
Sam Heller5-Mar-07 22:40 
AnswerRe: SQL DATASOURCE Pin
kubben6-Mar-07 3:25
kubben6-Mar-07 3:25 
GeneralRe: SQL DATASOURCE Pin
Sam Heller6-Mar-07 3:35
Sam Heller6-Mar-07 3:35 
Yeah I am well aware of the Gridview and it's automatic sorting and paging features but it has the obvious constriction of having to use columns. In this case each row in my table has a nested table inside it which also needs to have sorting applied to it. There are also TD's that stretch over multiple TD's. Therefore a grid view would be inappropriate so I have had to use Datalist.

The thing is I wanted it to use the SQLDATASOURCE to pass the ORDERBY value to my SP just like the Grid View would do automatcally for you. I managed using the article above. You just need to create your own link buttons and rig them to set an ORDER BY value. Then simply databind the datalist, ensuring that the bind uses your sorting parameter and bobs your uncle youv got the exact same functionality.

Works a treat espceially with an UpdatePanel around it too!!
QuestionSql Server 2005 - Copy Database Pin
clint19825-Mar-07 22:04
clint19825-Mar-07 22:04 
AnswerRe: Sql Server 2005 - Copy Database Pin
Pete O'Hanlon6-Mar-07 1:28
mvePete O'Hanlon6-Mar-07 1:28 
QuestionRe: Sql Server 2005 - Copy Database Pin
clint19826-Mar-07 4:58
clint19826-Mar-07 4:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.