I have a table with 1 million rows. I want to DISPLAY all
the rows in ASP.NET page. If 10,000 users are accessing my
page. I need to go for Datareader or Dataset...Problem is,
if i use Datareader there will be 10,000 connections to
the database. If i use Dataset it occupies 10,000 memory
blocks(xml format data) in my web server....Don't want
caching concept...If some one help me in this area?
Thanks in advance....
Srinivas 3 2751
how does an operator physically read a million rows from a
web page?
guy -----Original Message----- I have a table with 1 million rows. I want to DISPLAY all the rows in ASP.NET page. If 10,000 users are accessing
mypage. I need to go for Datareader or Dataset...Problem
is,if i use Datareader there will be 10,000 connections to the database. If i use Dataset it occupies 10,000 memory blocks(xml format data) in my web server....Don't want caching concept...If some one help me in this area?
Thanks in advance.... Srinivas .
Besides the fact that no human can use 1 million rows of data......
If each row contained only 1 byte of data, and you had no html(table) your
page would be 1 MB. Now add
<tr><td></td><td></td><td></td></tr> * 1million. Even with out the data
that's 36MB.
Good Luck!
Bob Lehmann
"srinivas" <sr******@yahoo.com> wrote in message
news:04****************************@phx.gbl... I have a table with 1 million rows. I want to DISPLAY all the rows in ASP.NET page. If 10,000 users are accessing my page. I need to go for Datareader or Dataset...Problem is, if i use Datareader there will be 10,000 connections to the database. If i use Dataset it occupies 10,000 memory blocks(xml format data) in my web server....Don't want caching concept...If some one help me in this area?
Thanks in advance.... Srinivas
You want to show 1 million rows in one ASP.NET page? Hmmm. I don't think
that would make a lot of sense from and end user perspective - imagine to
have to browse through 1 million rows...
Paging might be a better solution in this scenario.
Regards,
Wim Hollebrandse http://www.wimdows.com http://www.wimdows.net
"srinivas" <sr******@yahoo.com> wrote in message
news:04****************************@phx.gbl... I have a table with 1 million rows. I want to DISPLAY all the rows in ASP.NET page. If 10,000 users are accessing my page. I need to go for Datareader or Dataset...Problem is, if i use Datareader there will be 10,000 connections to the database. If i use Dataset it occupies 10,000 memory blocks(xml format data) in my web server....Don't want caching concept...If some one help me in this area?
Thanks in advance.... Srinivas This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Yasutaka Ito |
last post by:
Hi,
My friend had a little confusion about the working of DataReader after
reading an article from MSDN. Following is a message from him...
<!-- Message starts -->
I was going thru DataReader...
|
by: Rob via .NET 247 |
last post by:
Ok, I'm new to .NET so I'm afraid I'm doing something stupidhere, but I'm trying to populate a DataSet manually from aDataReader, and its turning out to be ridiculously difficult.
Yes, I could use...
|
by: Jason Huang |
last post by:
Hi,
Is it possible to bind DataReader to a DataGrid in C# windows form? And
how?
And can we update data in a DataSet by using the DataReader?
Thanks for help.
Jason
|
by: Bihn |
last post by:
I was reading about datareader which is said to be slimmer & faster then
dataset. Since the datareader have to go fetching the dat from the database
every time it need it, the data it gets then...
|
by: Patreek |
last post by:
Hi,
I'm writing my first real asp.net app at my job, and I'd like opinions
please. In my classic ASP apps that I've written, I'd often have separate
files for retreiving data and returning the...
|
by: Ivan Weiss |
last post by:
Hey all, I have the following code to populate a ListView control from
my Access database. The listview is displaying a list of saved projects
that the user will be able to open, edit, or delete...
|
by: SQL |
last post by:
Hi, is there a method to move to the next record in a datareader? Kind of
like the rs.MoveNext from VB6...
Thanks
|
by: jason |
last post by:
Hi,
{asp .net 1.1, sp 2)
I am facing problems with multi users accessing the same page. There is a
datagrid in the webform. The "datareader already opened error/ object
reference not found"...
|
by: =?Utf-8?B?UGV0ZXI=?= |
last post by:
I have read some articles state that DataSet should NOT be used for large
resultset. What does "large" mean? Is "large" based on # of rows/columns
and/or memory required to hold the original and...
|
by: Chris |
last post by:
Hi,
i use this to recover data via a stored procedure from a database.
Imports System.Data
Imports System.Data.SqlClient
Public Class chat
Public Shared Function myfunction() As DataSet
Dim...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |