The Artima Developer Community
Sponsored Link

.NET Buzz Forum
SqlCeResultSet/SQL Mobile in Whidbey CF

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sam Gentile

Posts: 1605
Nickname: managedcod
Registered: Sep, 2003

Sam Gentile is a Microsoft .NET Consultant who has been working with .NET since the earliest
SqlCeResultSet/SQL Mobile in Whidbey CF Posted: Aug 3, 2004 12:02 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Sam Gentile.
Original Post: SqlCeResultSet/SQL Mobile in Whidbey CF
Feed Title: Sam Gentile's Blog
Feed URL: http://samgentile.com/blog/Rss.aspx
Feed Description: .NET and Software Development from an experienced perspective - .NET/CLR, Rotor, Interop, MC+/C++, COM+, ES, Mac OS X, Extreme Programming and More!
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Sam Gentile
Latest Posts From Sam Gentile's Blog

Advertisement
There are a whole lot of things different about programming for mobile devices with the CF versus the desktop framework. One of the problems encountered today, is that on a Compact device, DataSets are very memory intensive and slow.You can use a SqlCeResultSet but it is forward-only and non-updatable. In SQL CE 3.0 (SQL Mobile) and .NET CF 2.0, I have learned about the usage of SqlCeResultSet. SqlCeResultSet exposes an updatable, scrollable cursor so that compact apps can directly access a SQL Mobile Edition database without double buffering data on the device with a DataSet. There isn't hardly anything written on SqlCeResultSets although they are public knowledge on Microsoft's SQL site. I can't quote any perf numbers, but is a lot faster and solves a number of problem scenarios that exist today. I'm not sure I can post sample code but basically a SqlCeResultSet is obtained via a SqlCeCommand.ExecuteResultSet command. You can then update as well as do data binding. Very handy indeed.

Read: SqlCeResultSet/SQL Mobile in Whidbey CF

Topic: Visual Studio.NET MSI Setup Creation: "Cannot delete folder. Folder is not empty or it might... Previous Topic   Next Topic Topic: Mozilla/Firefox Vulnerability

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use