Click here to Skip to main content
15,891,033 members
Home / Discussions / Database
   

Database

 
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 
QuestionUpdate Triggers and recursion with multiple rows Pin
Steven J Jowett30-May-08 5:28
Steven J Jowett30-May-08 5:28 
AnswerRe: Update Triggers and recursion with multiple rows Pin
Rob Smiley30-May-08 13:01
Rob Smiley30-May-08 13:01 
GeneralRe: Update Triggers and recursion with multiple rows Pin
Steven J Jowett1-Jun-08 22:45
Steven J Jowett1-Jun-08 22:45 
AnswerRe: Update Triggers and recursion with multiple rows Pin
Mycroft Holmes31-May-08 2:31
professionalMycroft Holmes31-May-08 2:31 
GeneralRe: Update Triggers and recursion with multiple rows Pin
Steven J Jowett1-Jun-08 22:44
Steven J Jowett1-Jun-08 22:44 
GeneralRe: Update Triggers and recursion with multiple rows Pin
Mycroft Holmes1-Jun-08 23:17
professionalMycroft Holmes1-Jun-08 23:17 
QuestionSQL-Instead of null value I have to display the text like NO Pin
r aa j29-May-08 23:58
r aa j29-May-08 23:58 
AnswerRe: SQL-Instead of null value I have to display the text like NO Pin
Peter Josefsson Sweden30-May-08 0:43
Peter Josefsson Sweden30-May-08 0:43 
GeneralRe: SQL-Instead of null value I have to display the text like NO Pin
r aa j30-May-08 1:03
r aa j30-May-08 1:03 
AnswerRe: SQL-Instead of null value I have to display the text like NO Pin
Alsvha30-May-08 0:56
Alsvha30-May-08 0:56 
AnswerRe: SQL-Instead of null value I have to display the text like NO Pin
Giorgi Dalakishvili30-May-08 1:16
mentorGiorgi Dalakishvili30-May-08 1:16 
GeneralRe: SQL-Instead of null value I have to display the text like NO Pin
Hesham Amin1-Jun-08 12:27
Hesham Amin1-Jun-08 12:27 
AnswerRe: SQL-Instead of null value I have to display the text like NO Pin
Hesham Amin1-Jun-08 12:24
Hesham Amin1-Jun-08 12:24 
QuestionWeird nullable DateTime issue... Pin
Harvey Saayman29-May-08 21:43
Harvey Saayman29-May-08 21:43 

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.