PLZ I Want to used xml file as database( how to add,update,delete and Search)
-
PLZ I Want to used xml file as database(how to add,update,delete and Search) i will make the database program using interface C# and DataBase thanks.:rose:
You can want all you want. It's not going to change the fact that XML is NOT a database. You cannot use SQL statements to navigate through the tables. You have to use the various XML methods to modify your tables, but XML is very inefficient at it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
PLZ I Want to used xml file as database(how to add,update,delete and Search) i will make the database program using interface C# and DataBase thanks.:rose:
Unless your data set is very small, this smells of disaster. XPath is how you search XML. The DOM via the XMLDocument class is how you interact up add/update/delete/search.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
You can want all you want. It's not going to change the fact that XML is NOT a database. You cannot use SQL statements to navigate through the tables. You have to use the various XML methods to modify your tables, but XML is very inefficient at it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007Dave Kreskowiak wrote:
You can't want all you want.
I don't think that is what you meant... :P
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Dave Kreskowiak wrote:
You can't want all you want.
I don't think that is what you meant... :P
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Whoops. I knew that didn't look right when I posted it...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
PLZ I Want to used xml file as database(how to add,update,delete and Search) i will make the database program using interface C# and DataBase thanks.:rose:
If You really want you can.Once again Is that you really want to do. check DataSet members ReadXML()/WriteXML() load XML Store to Dataset using ReadXML ( on Application Initialization ) Manipulate ( add/delete etc.. ) this DataSet during application life cycle. On ApplicationExit use WriteXML. "Sometimes solutions will be as simple as 1=1 , confused right :doh:" By BAIJUMAX