Click here to Skip to main content
15,914,014 members
Home / Discussions / Database
   

Database

 
GeneralRe: insert trigger Pin
Ashfield2-Jun-08 1:16
Ashfield2-Jun-08 1:16 
GeneralRe: insert trigger Pin
Mr.Kode2-Jun-08 2:49
Mr.Kode2-Jun-08 2:49 
Question[Message Deleted] Pin
snowblindzz1-Jun-08 20:55
snowblindzz1-Jun-08 20:55 
AnswerRe: MS SQL SERVER PERFORMANCE OPTIMIZATION Pin
Ashfield1-Jun-08 22:09
Ashfield1-Jun-08 22:09 
QuestionPermissions [modified] -- [update] Never mind, solved Pin
Mustafa Ismail Mustafa1-Jun-08 12:11
Mustafa Ismail Mustafa1-Jun-08 12:11 
AnswerRe: Permissions Pin
User 17164921-Jun-08 12:20
professionalUser 17164921-Jun-08 12:20 
GeneralRe: Permissions Pin
Mustafa Ismail Mustafa1-Jun-08 12:51
Mustafa Ismail Mustafa1-Jun-08 12:51 
QuestionUpdate+Increment else Insert Pin
Michael P. Scherer1-Jun-08 5:11
Michael P. Scherer1-Jun-08 5:11 
AnswerRe: Update+Increment else Insert Pin
Hesham Amin1-Jun-08 12:20
Hesham Amin1-Jun-08 12:20 
Questiondrop mergearticle Pin
am2h31-May-08 23:50
am2h31-May-08 23:50 
AnswerRe: drop mergearticle Pin
Alsvha1-Jun-08 0:33
Alsvha1-Jun-08 0:33 
QuestionRe: drop mergearticle Pin
am2h1-Jun-08 0:54
am2h1-Jun-08 0:54 
QuestionQuery for this pricing model Pin
ChrisFarrugia31-May-08 22:23
ChrisFarrugia31-May-08 22:23 
AnswerRe: Query for this pricing model Pin
Christian Graus1-Jun-08 4:14
protectorChristian Graus1-Jun-08 4:14 
Questionerror 26 in visual studio 2005 (sql application) Pin
bapu288931-May-08 7:23
bapu288931-May-08 7:23 
Question{"Incorrect syntax near the keyword 'TRIGGER'."} Pin
Member 400849230-May-08 22:19
Member 400849230-May-08 22:19 
AnswerRe: {"Incorrect syntax near the keyword 'TRIGGER'."} Pin
Colin Angus Mackay31-May-08 7:20
Colin Angus Mackay31-May-08 7:20 
Questionrow sum ? Pin
Mr.Kode30-May-08 20:57
Mr.Kode30-May-08 20:57 
AnswerRe: row sum ? Pin
www.Developerof.NET30-May-08 22:13
www.Developerof.NET30-May-08 22:13 
QuestionGetDefaultConnect() in CRecordset? Pin
Le@rner30-May-08 19:31
Le@rner30-May-08 19:31 
AnswerCP NOTE Pin
leckey31-May-08 16:41
leckey31-May-08 16:41 
QuestionQuestion Regarding .Load() Pin
Jammer30-May-08 14:25
Jammer30-May-08 14:25 
Hi All,

I have the following defined in a class that I'm using to access and export the contents of an SQL Compact database. After having read around some I was under the impression that the following code would work, but its failing to actually LOAD any data from the database. Any help would be great.

to create my typed dataset:

SSdbDataSet ds = new SSdbDataSet();


The method to load the entire database from the .sdf file is:

public void ExportDatabaseXML()
{
    ds.Clear();
    ds.localSamples.Load(GetLocalSamplesReader());
    ds.WriteXml("SStest.xml", XmlWriteMode.WriteSchema);
}


And there is this 'utility' method to create the reader:

private IDataReader GetLocalSamplesReader()
{
    return ds.localSamples.CreateDataReader();
}


I'm a bit stuck now as I was under the impression that the Load() method pulled all the data from the underlying datatable.

Any pointers would be great.

Jammer

Going where everyone here has gone before! Smile | :)
My Blog

QuestionUpdate Pin
Bassam Saoud30-May-08 9:41
Bassam Saoud30-May-08 9:41 
AnswerRe: Update Pin
Blue_Boy30-May-08 11:35
Blue_Boy30-May-08 11:35 
AnswerRe: Update Pin
Alsvha30-May-08 20:26
Alsvha30-May-08 20:26 

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.