Click here to Skip to main content
15,919,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: DateTime Problem Pin
Colin Angus Mackay16-Jul-07 0:18
Colin Angus Mackay16-Jul-07 0:18 
AnswerRe: DateTime Problem Pin
Rhys Gravell16-Jul-07 0:12
professionalRhys Gravell16-Jul-07 0:12 
AnswerRe: DateTime Problem Pin
Vikram A Punathambekar16-Jul-07 0:30
Vikram A Punathambekar16-Jul-07 0:30 
AnswerRe: DateTime Problem Pin
T1TAN16-Jul-07 23:14
T1TAN16-Jul-07 23:14 
QuestionPopulate a *.sdf database from a dataset Pin
pmartike15-Jul-07 23:25
pmartike15-Jul-07 23:25 
AnswerRe: Populate a *.sdf database from a dataset Pin
Colin Angus Mackay16-Jul-07 0:15
Colin Angus Mackay16-Jul-07 0:15 
GeneralRe: Populate a *.sdf database from a dataset Pin
pmartike16-Jul-07 0:44
pmartike16-Jul-07 0:44 
GeneralRe: Populate a *.sdf database from a dataset Pin
Mike Dimmick16-Jul-07 0:59
Mike Dimmick16-Jul-07 0:59 
SQL Server CE is in-process so the round-trip problem doesn't apply. The parser only accepts one statement per batch. The parser is appallingly slow and the query execution engine isn't much better. You actually get best performance by simply opening the tables directly (specify the table name for SqlCeCommand.CommandText and set SqlCeCommand.CommandType to CommandType.TableDirect) and not using SQL at all (ironically).

In CF 1.0 you could read tables directly but not update them - you had to use INSERT queries and Prepare the command object to avoid the query compiler overhead. CF 2.0 has a SqlCeResultSet class which is back to the bad good old days of ADO Recordset - you can scroll back and forth with a client-side cursor, seek to specific values, update or delete existing rows and insert new rows.

Stability. What an interesting concept. -- Chris Maunder

GeneralRe: Populate a *.sdf database from a dataset Pin
Colin Angus Mackay16-Jul-07 2:29
Colin Angus Mackay16-Jul-07 2:29 
AnswerRe: Populate a *.sdf database from a dataset Pin
Mike Dimmick16-Jul-07 0:55
Mike Dimmick16-Jul-07 0:55 
GeneralRe: Populate a *.sdf database from a dataset Pin
pmartike16-Jul-07 3:08
pmartike16-Jul-07 3:08 
GeneralRe: Populate a *.sdf database from a dataset Pin
Mike Dimmick16-Jul-07 6:04
Mike Dimmick16-Jul-07 6:04 
QuestionXAML How to get parent property Pin
Juan Pablo G.C.15-Jul-07 23:18
Juan Pablo G.C.15-Jul-07 23:18 
AnswerRe: XAML How to get parent property Pin
snorkie16-Jul-07 3:10
professionalsnorkie16-Jul-07 3:10 
Questionjava script Pin
kalyan_241615-Jul-07 23:08
kalyan_241615-Jul-07 23:08 
AnswerRe: java script Pin
Nouman Bhatti15-Jul-07 23:20
Nouman Bhatti15-Jul-07 23:20 
QuestionCustom stored procedure in netTiers Pin
thuannguyen15-Jul-07 22:15
thuannguyen15-Jul-07 22:15 
AnswerRe: Custom stored procedure in netTiers Pin
Vasudevan Deepak Kumar15-Jul-07 22:39
Vasudevan Deepak Kumar15-Jul-07 22:39 
Questionhow to set the number of rows in listview in c# Pin
monuSaini15-Jul-07 22:10
monuSaini15-Jul-07 22:10 
AnswerRe: how to set the number of rows in listview in c# Pin
Eduard Keilholz15-Jul-07 22:48
Eduard Keilholz15-Jul-07 22:48 
AnswerRe: how to set the number of rows in listview in c# Pin
mav.northwind16-Jul-07 3:34
mav.northwind16-Jul-07 3:34 
QuestionAccessing the program folder Pin
AlexZieg7115-Jul-07 22:01
AlexZieg7115-Jul-07 22:01 
AnswerRe: Accessing the program folder Pin
Vasudevan Deepak Kumar15-Jul-07 22:41
Vasudevan Deepak Kumar15-Jul-07 22:41 
GeneralRe: Accessing the program folder Pin
AlexZieg7115-Jul-07 23:22
AlexZieg7115-Jul-07 23:22 
GeneralRe: Accessing the program folder Pin
AlexZieg7116-Jul-07 0:09
AlexZieg7116-Jul-07 0:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.