M
Miro
Hi sorry for the quick question. I am on the right track but just cant seem
to find what to search for in my books / online for the answer I am looking
for.
I have created a dataset within my project.
In the dataset I created 2 tables - and set some fields on the tables.
In each table I set one of the fields to be a primary key / unique auto
incremenet.
So now I create a form, add a datagrid view to it and add to the dataset.
Works great. The unique keys are "negative" as expected.
If i was actaully pushing this to a sql server...on push i would expect it
to come back as a positive.
But I am not..
After this step I am writing the dataset to an XML file, but it still has
"negatives" there.
How to I get it to write to the xml file with "Positive Keys".
Basically make the XML file be my 'sql server'.
I can load and save my changes to the xml file - but the negatives are
there.
Or am i mislead, and using primary keys on an xml file will always be like
this - until you take it and write the contents into a real server
filesystem?
So I am not sure what to search for / google on "XML vb.net unique key
dataset" or something to find out how people use an xml file as a file
system.
Thanks.
Miro
to find what to search for in my books / online for the answer I am looking
for.
I have created a dataset within my project.
In the dataset I created 2 tables - and set some fields on the tables.
In each table I set one of the fields to be a primary key / unique auto
incremenet.
So now I create a form, add a datagrid view to it and add to the dataset.
Works great. The unique keys are "negative" as expected.
If i was actaully pushing this to a sql server...on push i would expect it
to come back as a positive.
But I am not..
After this step I am writing the dataset to an XML file, but it still has
"negatives" there.
How to I get it to write to the xml file with "Positive Keys".
Basically make the XML file be my 'sql server'.
I can load and save my changes to the xml file - but the negatives are
there.
Or am i mislead, and using primary keys on an xml file will always be like
this - until you take it and write the contents into a real server
filesystem?
So I am not sure what to search for / google on "XML vb.net unique key
dataset" or something to find out how people use an xml file as a file
system.
Thanks.
Miro