Re: SqlCeUpdatableRecord and SqlCeResultSet

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Feb 26, 6:05 am, "ErikEJ" <ejls...@xxxxxxxxxxx> wrote:
In terms of enumeration of existing SqlCeUpdatableRecords in a
SqlCeResultSet,
see this from Jim Wilsons blog:http://www.pluralsight.com/blogs/jimw/archive/2008/02/22/50291.aspx

--
Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog athttp://erikej.blogspot.com"Jin"; <jinsooch...@xxxxxxxxx> wrote in message

news:6602c62b-83a6-45b7-b715-dd7d0c9033a7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Is it possible to access an existing data from SqlCeResultSet as
SqlCeUpdatableRecord object?

I understand that SqlCeUpdatableRecord is used when Inserting a record
to SqlCeResultSet, but it would be nice to retrieve an existing record
from a SqlCeResultSet as SqlCeUpdatableRecord in order to use a common
routine for both Insert and Update operations. Without such option, I
have to write two separate routines that pretty much do the same thing
in terms of assigning values to the fields. It only seems logical
that there should be a way to do this given the convenience, but I
could not find a way.

Thanks in advance.

- Jin

Thanks for the reply.
That link provided exactly the information I needed.

- Jin
.