473,770 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Put data to DataGrid in memory

Can I add some data to data grid control on the fly by not connecting to
database ?

I mean I need to put data to data grid control on the memory, I need to use
it ro manage page such as next and previous.

Any part of some code will be appreicated.
Nov 17 '05 #1
2 2075
Hi

One of the most important factors in building high-
performance, scalable Web applications is the ability to
store items, whether data objects, pages, or parts of a
page, in memory the initial time they are requested. You
can store these items on the Web server or other software
in the request stream, such as the proxy server or
browser. This allows you to avoid recreating information
that satisfied a previous request, particularly
information that demands significant processor time or
other resources. Known as caching, it allows you to use a
number of techniques to store page output or application
data across HTTP requests and reuse it. Thus, the server
does not have to recreate information, saving time and
resources.

ASP.NET provides two types of caching that you can use to
create high-performance Web applications. The first is
called output caching, which allows you to store dynamic
page and user control responses on any HTTP 1.1 cache-
capable device in the output stream, from the originating
server to the requesting browser. On subsequent requests,
the page or user control code is not executed; the cached
output is used to satisfy the request. The second type of
caching is traditional application data caching, which
you can use to programmaticall y store arbitrary objects,
such as data sets, to server memory so that your
application can save the time and resources it takes to
recreate them.

HTH
Ravikanth

-----Original Message-----
Can I add some data to data grid control on the fly by not connecting todatabase ?

I mean I need to put data to data grid control on the memory, I need to useit ro manage page such as next and previous.

Any part of some code will be appreicated.
.

Nov 17 '05 #2
Nope!

I didn't mean to the cache. I mean to use data grid control for access data
in memory. Because of easy to manage user interface in web application such
as next page or previous page. And my data is not too much, around 200
records, which now I use list box control to manage but it doesn't look
elegant.

"Ravikanth[MVP]" <dv*********@ho tmail.com> wrote in message
news:0d******** *************** *****@phx.gbl.. .
Hi

One of the most important factors in building high-
performance, scalable Web applications is the ability to
store items, whether data objects, pages, or parts of a
page, in memory the initial time they are requested. You
can store these items on the Web server or other software
in the request stream, such as the proxy server or
browser. This allows you to avoid recreating information
that satisfied a previous request, particularly
information that demands significant processor time or
other resources. Known as caching, it allows you to use a
number of techniques to store page output or application
data across HTTP requests and reuse it. Thus, the server
does not have to recreate information, saving time and
resources.

ASP.NET provides two types of caching that you can use to
create high-performance Web applications. The first is
called output caching, which allows you to store dynamic
page and user control responses on any HTTP 1.1 cache-
capable device in the output stream, from the originating
server to the requesting browser. On subsequent requests,
the page or user control code is not executed; the cached
output is used to satisfy the request. The second type of
caching is traditional application data caching, which
you can use to programmaticall y store arbitrary objects,
such as data sets, to server memory so that your
application can save the time and resources it takes to
recreate them.

HTH
Ravikanth


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
487
by: cyberstrike | last post by:
okay, I have a wierd problem. first of all, when my app loads, it uses a lot of memory. Most of which goes away if I minimize and reopen the application. Second problem is that I have a datagrid on the application and as long as a mouse is moving over the datagrid, it keeps accumulating memory and never releases it. I don't have any events that should be causing this. Also, if I move the mouse over other parts of the form, not the datagrid,...
1
2376
by: Duncan Welch | last post by:
I am in the process of developing a site that will, on completion, be quite high profile. I have successfully used the Datagrid to display paged data from a database of around 10k records, but the standard paging techniques use a linkbutton, which runs a small piece of client-side javascript. To my understanding, this means that when I get "spidered" by a search engine, it won't follow the javascript links, thereby my database won't get...
0
1448
by: Chankama | last post by:
Hi. I am attempting to display the contents of a database table on a CE device. I was using a DataTable object, as the datasource of the DataGrid, to accomplish this task. The problem with this approach is that I need to read the whole table into memory before assigning it as the datasource of the DataGrid. Ideally, I should retrieve row by row as needed to save memory. Conceivably I could read a partial # of rows and refresh the...
3
3357
by: Rakesh | last post by:
Hi, Is there any limit to the number of rows a datagrid can display? Thanks, Rakesh
9
1711
by: VMI | last post by:
We have this huge application that's based on storing tons of data on a dataTable. The only problem we're having is that storing LOTS of data (1 million records) into a datatable will slow down the system since all this data will be stored in memory. The performance is really affected with this. Since we don't really want to redesign everything based on this datatable, are there any companies that offer a product similar to the datatable...
3
2105
by: Scottie_do | last post by:
I have a 20meg in-memory stack-based array and I'd like to normalise in the client's memory... then add foriegn keys, and display results on a datagrid. I discovered that converting the stack to a datatable my memory utilisation increases to 120 megs. (lots of overhead) Couple of questions 1)- Is that memory increase typical? All I want to do is bind it to a datagrid. 2)- Suppose I dump it to a CSV, or SQL. Is it possible to only...
4
9136
by: Peter | last post by:
Does anyone know a way to import excel data very fast? I have spreadsheet data that has to be processed, the spreadsheet has 256 columns and 20,000 rows of data. That's 5,120,000 cells. The cells can contain any type of data, but the data has to be coverted to Double arrays. Currently I read the data from the spreadsheed using OleDB and put the data into datagrid which is not too bad - takes maybe a minute, but when I move the data...
1
1061
by: Ross | last post by:
Hi folks I am doing a project that involves getting a list (subject to certain criteria) of filenames of mp3 files and the corresponding play time. I want to display that list (both the name and the play time) in separate columns. I was originally thinking in term of a datagrid control with 2 columns, but it appears as though it is only suitable for DB data.
1
4037
by: Amit | last post by:
Hello , Is there any way i can import data from datagrid to sqlserver. please advise . thanks & Regards
8
3087
by: Brock | last post by:
I am trying to populate a Crystal Report from data in my DataGrid. The reason for this is that I want the user to be able to change values without updating the database, but still have their report reflect the values they anticipate committing to see hypothetical totals of columns from a set of records. These records are displaying properly on my DataGrid but I'm not sure how to get Crystal Reports 10 to use as its datasource the dataset...
0
9617
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.