Exforsys

Free Training

Minimize Resource Usage

This is a discussion on Minimize Resource Usage within the Microsoft .NET forums, part of the Programming Talk category; I want to develop a web based application that retrieves my company’s catalog from SQL server 2000 database. The catalog ...

Go Back   Exforsys > Programming Talk > Microsoft .NET

Exforsys.com

  #1 (permalink)  
Old 05-29-2007, 10:37 AM
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
Thumbs up Minimize Resource Usage

I want to develop a web based application that retrieves my company’s catalog from SQL server 2000 database. The catalog information is changed once a day by the operations department through a Windows Form application, I want to know which object I can use so that the object uses the fewest resources to send the catalog information to the web browser which helps me to achieve performance in my application.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-02-2007, 01:11 AM
Senior Member
 
Join Date: Apr 2006
Posts: 122
rachelle is on a distinguished road
You can make use of SqlDataReader to achieve your purpose stated in your query above. This is because your requirement is to open a connection on the server and send the line by line output to browser or client. For achieving this you can open the DataReader and proceed till the end of data set to carry out the task and close the DataReader and Sqlconnection objects alone after the process. This would help you to achieve the stated purpose namely to send the catalog information to the web browser with fewest resources.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Request for interview question for Testing (QA) wildkid98 Testing Tutorials 18 09-10-2009 06:33 AM
Usage of this Technology Adrian Siebel 3 04-29-2007 01:43 PM
Usage of CFDIRECTORY ashlee Coldfusion 1 02-02-2007 08:02 AM
Usage of Command cyrus Linux 0 12-15-2006 01:10 PM
Handy Usage Websites Angela Chit-Chat 0 12-12-2006 03:19 AM


All times are GMT -4. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.