M
Matteo Cima
Hi,
I googled and searched in the newsgroup, but still can't find a way to
follow, can't find any example!
I'd love to use xml as a little database for my c# app, just having 2 tables
and a few records, and I also want to do this as a "proof of concept".
What I want to do is just use select, insert into and update sql statements
on it.
I know I have to use datasets, but I can't start, because the documentation
explains the single functions but not the overview of the exact topic, so I
can't even guess how to start.
Just need a few lines of code.
Let's say i have an xml like
<person>
<name>Matteo</name>
<aka>mdm</aka>
</person>
<person>
<name>John</name>
<aka>jj</aka>
</person>
I'd love to just do a sort of "UPDATE PERSON SET AKA='JJ2' WHERE
NAME='john'"
and "INSERT INTO PERSON VALUES('Elwood', 'eb')"
Is this possible? Am I missing something, or, well, What am I missing?
Thanks for every clue.
--
Matteo Cima,
Senior Developer, Mobile Expert, Project Manager, Lead Analyst,
Dotnet, C# (Csharp) and Compact Framework Expert
Digisoft srl Italy
msn: matteodellamontagna_hotmail_com (you know what to do with those
underscores, don't you?)
I googled and searched in the newsgroup, but still can't find a way to
follow, can't find any example!
I'd love to use xml as a little database for my c# app, just having 2 tables
and a few records, and I also want to do this as a "proof of concept".
What I want to do is just use select, insert into and update sql statements
on it.
I know I have to use datasets, but I can't start, because the documentation
explains the single functions but not the overview of the exact topic, so I
can't even guess how to start.
Just need a few lines of code.
Let's say i have an xml like
<person>
<name>Matteo</name>
<aka>mdm</aka>
</person>
<person>
<name>John</name>
<aka>jj</aka>
</person>
I'd love to just do a sort of "UPDATE PERSON SET AKA='JJ2' WHERE
NAME='john'"
and "INSERT INTO PERSON VALUES('Elwood', 'eb')"
Is this possible? Am I missing something, or, well, What am I missing?
Thanks for every clue.
--
Matteo Cima,
Senior Developer, Mobile Expert, Project Manager, Lead Analyst,
Dotnet, C# (Csharp) and Compact Framework Expert
Digisoft srl Italy
msn: matteodellamontagna_hotmail_com (you know what to do with those
underscores, don't you?)