File that behaves like database? How?
Hey,
i want to use a file(like database) where i can store data, but i don't
want to replace the old file with the new(updated) file when i make
changes. I want to change only the specific part in the file, that's
it. Is that possible? I mean like database, when you make changes in
sql database for example, the database isn't replaced with new
file(i.e. updated database file), but only the value of a specific
record in the database is changed, right? If so, is that possible with
some other kind of file?
SreekanthPosted Jul 6, 2009, 8:41 AM
is not a bad idea....
create an xml file in ur project...
(save as .xml:).
In xml dat is stored in an interesing manner. for eg:
abc
123
wen ur trying to save details into xml file never for get this format.
now comes c# part....
first u have load ur created xml file into serever page:
like
xmltextwriter xml=new xmltextwriter(nameof xml file)
then xml.Wrtrstartdocument();
xm.writestartelement("abc");
xml.writeendelemet();
xml.writeend documnet();
for more details just serach c-shrpcorner
SreekanthPosted Jul 6, 2009, 8:19 AM