Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
dambo5
Starting Member
12 Posts |
Posted - 2011-11-05 : 02:34:21
|
| Dear All,We have a problem with a grid showing data in our software. using VB.net and SQL 2005/2008 server. The problem is that once we do a db.fill the application waits for a complete dataset to arrive at a client before it displays it. The application hangs too. In order not to hang we will implement background thread and I hope it will be fine.As for the data retrieval we would like to accomplish something similar like SQL SMS studio, i.e. it starts to show data while in the background it lists additional rows as they are retrieved.Is there any trick to do this or we have conceptual problem meaning the way the data arrives at the client?I think for you professionals I managed to explain the problem clear, I'll post any additional info if needed.Thank you.Aleksandar |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
Posted - 2011-11-05 : 12:52:42
|
| Have you considered implementing server side paging?Be One with the OptimizerTG |
 |
|
|
dambo5
Starting Member
12 Posts |
Posted - 2011-11-07 : 05:10:05
|
| Hello TG,Server side paging requires pageable datagrid or no?Is this a feature ment for web applications or it can be implemented in the client server software as well.Thanks,Aleksandar |
 |
|
|
jassi.singh
Posting Yak Master
122 Posts |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
Posted - 2011-11-07 : 10:33:50
|
quote: Originally posted by dambo5 Hello TG,Server side paging requires pageable datagrid or no?Is this a feature ment for web applications or it can be implemented in the client server software as well.Thanks,Aleksandar
paging can be controlled completely at the database server. There are several articles and many thread topics posted on this site on the subject. Many methods are discussed and examples posted including ways for server versions prior to 2005. You can start here:http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=pagingBut go ahead and do your own "search" from this site and you'll see pages of posts.Be One with the OptimizerTG |
 |
|
|
|
|
|