Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server CE / February 2008

Tip: Looking for answers? Try searching our database.

SqlCeUpdatableRecord and SqlCeResultSet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jin - 06 Feb 2008 18:40 GMT
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
ErikEJ - 26 Feb 2008 11:05 GMT
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

Signature

Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog at
http://erikej.blogspot.com

> Is it possible to access an existing data from SqlCeResultSet as
> SqlCeUpdatableRecord object?
[quoted text clipped - 11 lines]
>
> - Jin
Jin - 26 Feb 2008 16:36 GMT
> In terms of enumeration of existing SqlCeUpdatableRecords in a
> SqlCeResultSet,
[quoted text clipped - 18 lines]
>
> > - Jin

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

- Jin
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.