Hi,
What are the main differences between a dataset and a dataview?
What should I cache dataset or dataview... or what is the best thing to do
in what situation?
Thanks!
Arjen 1 4244
DataSet holds the data in memory
DataView is a "view" of the data that is customizable, such as filtering and sorting, but the underlying data still remains in a
DataTable.
Caching a DataView might store the view settings but not the underlying data. I'm not sure how that will behave. I can only
suggest that you try caching a DataView (only if you specificly need a DataView) and see if you can access the underlying DataTable
upon a post-back.
It may just be easier (and more appropriate) to cache the DataTable (or complete DataSet) and recreate a DataView when you need one.
--
Dave Sexton dave@www..jwaon line..com
-----------------------------------------------------------------------
"Arjen" <bo*****@hotmai l.com> wrote in message news:da******** **@news2.zwoll1 .ov.home.nl... Hi,
What are the main differences between a dataset and a dataview?
What should I cache dataset or dataview... or what is the best thing to do in what situation?
Thanks! Arjen This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Craig |
last post by:
How do you set the current row of a dataset?
I want to bind a control to a field from the 5th row in a dataset.
I fill the dataset, then I want to set the row to the 5th row and then do
the databinding.
Dataset1.tblMyTable.CurrentIndex = 5 or something like that maybe?
'Sets the value for a field using index number......
|
by: Arthur Dzhelali |
last post by:
I according to MSDN dataview and dataset are thread safe for read
operations, but we run into this scenario. I just would like to see some
comments on it.
Aplication written in VB.NET it is an ASP.NET app.
located on busy web server.
Initially we defined dataview slightly wrong and run into the problem.
we have dataset cached which has large ammount of data.
|
by: Jason Huang |
last post by:
Hi,
In the ASP.Net, what's the difference between DataSet and DataView? I what
situation will I choose to use the DataSet or DataView?
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 should be up to date. However,
both the IbuySpy and Duwamish samples and most, if not all, the shopping
cart sample codes I've seen use dataset to implement the opration for
ecommerce sites. So is the trip that the datareader need to go fetch the...
|
by: Lawrence Chang |
last post by:
Hi My friends,
Can I save dataset object to an application variable? I want all the
customer use this dataset. and diffrent customer create diffrent dataview
object from this dataset, so it don't need to connect to database everytime
.. I know I can use cache object , but cache object can be deleted
automatically if server's memory is low, is this correct?
Would you like to give me more information about how to improve database
webform...
| |
by: Carl Summers |
last post by:
I have a table in an Access database that has no sort applied in
Access. When I fill a dataset with data from that table (the entire
one dimensional table) my dataset is sorted differently than the
database. This would not be a problem, and really isn't a problem
except that it means I have to search the dataset each time I want to
find a particular record instead of just storing a variable. Which
brings me to a different question....
|
by: A_PK |
last post by:
I have problem databinding the DataGrid with DataView/DataSet after the
filter...
I create the following proceudre in order for user to filter as many as they
want, but the following code is only allow user to filter the first time,
when they tried the second time, the speficied cast error message will
prompt one....
I create a mydataset1 first, and the mydataset1 data source was getting from
DataGrid.DataSource.
|
by: enceladus311 |
last post by:
I'm trying to find a way to keep from having to fill a DataView after
every PostBack to a page. Basically, the design is that I have a
DataView that I fill, which I then set as the DataSource to a DataGrid
on my page. This works well, however, like I said, I would like to
keep from having to fill the DataView on each PostBack. So, naturally,
what I did was checked whether or not the request was a PostBack by
checking the IsPostBack...
|
by: Onur |
last post by:
How can I convert back a dataView in Cache to a dataset?
|
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...
|
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,...
| |
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...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |