Ask a Question related to ASP.NET General, Design and Development.
-
Yan-Hong Huang[MSFT] #1
RE: Large table creation
Hello Jim,
There should be no other way to do so. The for loop could be used to create
a big talbe.
Have you tested the page to see if it is really slow? The work is done by
server side and should not hurt performance much.
Please feel free to post here if you have any more concerns.
Best regards,
yhhuang
VS.NET, Visual C++
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? [url]http://www.gotdotnet.com[/url]
--------------------
!Content-Class: urn:content-classes:message
!From: "Jim McLeod" <james.mcleod@uk.symbol.com>
!Sender: "Jim McLeod" <james.mcleod@uk.symbol.com>
!Subject: Large table creation
!Date: Tue, 24 Jun 2003 00:54:01 -0700
!Lines: 32
!Message-ID: <0b5301c33a25$c6616b20$a301280a@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcM6JcZhnNkE8opfTC6DHEaafa77MA==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:154515
!NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Hi Guys,
!
!I'm using the following embedded 'For loops' to create
!two pretty big tables. Lets say 100+ cells, by 100+ rows.
!
!=====================================
!for(long RowCounter = 0; RowCounter < Rows; RowCounter++)
!{
! TableRow = new
! System.Web.UI.HtmlControls.HtmlTableRow();
!
! for(long CellCounter = 0; CellCounter < Cells;
! CellCounter++)
! {
! TableCell = new
! System.Web.UI.HtmlControls.HtmlTableCell();
!
! TableRow.Cells.Add(TableCell);
! }
!
! TableReference.Rows.Add(TableRow);
!}
!=====================================
!
!As you can imagine this code isn't the most efficient for
!creating such large structures. Is there any .NET
!Framework technique for speeding the creation of these
!tables?
!
!Best regards,
!
!Jim...
!
Yan-Hong Huang[MSFT] Guest
-
Going for a LARGE Table: Any Tips?
Hi there I'm developing a large web application. Part of this web application will be storing numerical chart data in a MySQL table - these... -
Temporary Table Creation Problem in CF7 not CF6.1
We have been preparing for our upgrade to CF7.0 from 6.1 on a test site with a test mssql database and come across an issue we cannot resolve. Maybe... -
question: how to preload data and excute table creation scripts
On Wed, Dec 08, 2004 at 08:58:49AM -0800, Mark wrote: Create a file with the SQL statements you'd like to run. There are several ways to get... -
Large SQL table causes web page to hang
I am querying a large SQL database table and when the result set is large (over 1000 records), the browser just clocks and I have to wait for the... -
Command line utility for Oracle 8i/9i table creation on Solaris.[like osql.exe for MSSQL]
It's called sqlplus, and it's a command line tool. Regards HJR "Gijo Varghese" <gijovarghese@yahoo.com> wrote in message...



Reply With Quote

