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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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.
|
|
|||
|
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.
|
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Request for interview question for Testing (QA) | wildkid98 | Testing Tutorials | 17 | 04-23-2008 05:24 AM |
| Usage of this Technology | Adrian | Siebel | 3 | 04-29-2007 02:43 PM |
| Usage of CFDIRECTORY | ashlee | Coldfusion | 1 | 02-02-2007 09:02 AM |
| Usage of Command | cyrus | Linux | 0 | 12-15-2006 02:10 PM |
| Handy Usage Websites | Angela | Chit-Chat | 0 | 12-12-2006 04:19 AM |