Re: Newbie - general question about ADO.NET
- From: "<ctacke/>" <ctacke_AT_OpenNETCF_com>
- Date: Sat, 22 Oct 2005 16:45:51 -0400
Well you have to logically have some sort off object construct with which to
address the data ina meaningful way - the DataSet is designed to do just
that. Sure, it carries some overhead, but worrying about the minor amount
of overhead there when you're running the CF and SQL CE, plus whatever data
you're pullings seems a bit silly. The DataSet is designed to make data
access simple. There are also things like SqlCeResultSets, and
SqlCeDataReaders for other views of the data. It really depends on how you
intend to consume the data.
-Chris
"Zalek Bloom" <ZalekBloom@xxxxxxxxxxx> wrote in message
news:tnokl1de9pahvlgv32js5jfisat3po0n96@xxxxxxxxxx
> On Fri, 21 Oct 2005 09:03:54 -0400, "<ctacke/>"
> <ctacke_AT_OpenNETCF_com> wrote:
>
>>And that object is a DataSet. It's really no different than on the
>>desktop.
>>
>>-Chris
>
> Chris,
>
> I understand this, but it looks to me that there is some overhead to
> use it. First we need to define the DataSet and then to populate it
> before we can retrieve the dataset. If a database is localy on PC -
> what is the reason to use the DataSet?
>
> Zalek
>
>
>>
>>
>>"Zalek Bloom" <ZalekBloom@xxxxxxxxxxx> wrote in message
>>news:f5ihl1d347f6iltclg8ef1s1jiaf85ep8i@xxxxxxxxxx
>>>I want to write an application (in Studio 2003 - VB.Net) that will use
>>> a database located on PocketPC without any need to connect to outside
>>> server. ADO.NET is connectionless, but I don't care about connection,
>>> because the database is located on PocketPC. Is there a way to build
>>> it without creating DataSet? I just want to access tables and to put
>>> results of SQL into some kind of object.
>>>
>>> Thanks,
>>>
>>> Zalek
>>>
>>
>
.
- References:
- Newbie - general question about ADO.NET
- From: Zalek Bloom
- Re: Newbie - general question about ADO.NET
- From: <ctacke/>
- Re: Newbie - general question about ADO.NET
- From: Zalek Bloom
- Newbie - general question about ADO.NET
- Prev by Date: Re: eVB for Intel StrongArm processor?
- Next by Date: Re: WM 5.0: how to automatically run a process in the background.
- Previous by thread: Re: Newbie - general question about ADO.NET
- Next by thread: Signature Capture on Pocket PC
- Index(es):
Relevant Pages
|