Re: ADO .NET by Ginny
Ginny
Sat Feb 17 18:04:14 CST 2007
I haven't timed inserting a single record, but it is faster inserting many
records so I assume it is also faster for a single record.
--
Ginny
"shawrie" <neil.shaw@sanderson.com> wrote in message
news:1171752943.398229.131480@t69g2000cwt.googlegroups.com...
thanks again for your help and advice. Just one last thing for
inserting a record is the new resultset faster than using
executenonquery ?
On 17 Feb, 22:26, "Ginny Caughey [MVP]"
<ginny.caughey.onl...@wasteworks.com> wrote:
> SqlCeResultSet was introduced with CF version 2. SqlCeResultSet inherits
> from SqlCeDataReader and gives you the ability to update the data
> including
> inserting records, which you cannot do using SqlCeDataReader.
>
> --
> Ginny
>
> "shawrie" <neil.s...@sanderson.com> wrote in message
>
> news:1171747478.102093.21820@k78g2000cwa.googlegroups.com...
> thanks for help is the sqlceresultset new? ive never come across that
> for the compact framework
> also is this better than using sqlcedatareader,execute reader just
> simply writing a single record to a database
>
> On 17 Feb, 20:31, "Ginny Caughey [MVP]"
>
>
>
> <ginny.caughey.onl...@wasteworks.com> wrote:
> > shawrie,
>
> > I don't usually use DataSet on mobile devices, but I'd consider it if
> > the
> > data originates as XML. For SQLce I use SqlCeResultSet as Erik
> > suggested.
>
> > --
> > Ginny
>
> > "shawrie" <neil.s...@sanderson.com> wrote in message
>
> >news:1171738916.224921.233380@q2g2000cwa.googlegroups.com...
> > On 17 Feb, 18:46, "E®!k Visser" <burod...@planet.nl> wrote:
>
> > > Shawrie
>
> > > > hello im currently working on a simple application for PDA's that
> > > > simply writes a record and reads a record. Whats the best to use
> > > > datareader and using raw sql commands or datasets? Any one got any
> > > > recommendations ?
>
> > > Depends on what you are doing, I would suggest to also look at the
> > > SqlCEResultset. That is an updateable datareader, very fast, much
> > > faster
> > > than a dataset.
>
> > > Erik
>
> > basically i will have a database table of product information. A user
> > will type in a product code i will then look it up in the database and
> > display the information. Also they can also fill in a form and this
> > will be written to the database.
>
> > what cirmcustances would you use a dataset in a PDA application?- Hide
> > quoted text -
>
> - Show quoted text -