|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
XML File into a SQL tableI have a XLM file that contains data, but no schema, How can I read
this data into a SQL table (this has the correct colums etc > XLM I guessing you mean XMLOne way would be to parse it manually with the XmlReader or XmlDocument classes and then hit your table with SQL Insert commands. Let me know if you need me to elaborate Thanks, Seth Rowe AMP wrote: Show quoteHide quote > I have a XLM file that contains data, but no schema, How can I read > this data into a SQL table (this has the correct colums etc rowe_newsgroups wrote:
> > XLM I wonder why anyone would go to such trouble with XMLSerialization is> > I guessing you mean XML > > One way would be to parse it manually with the XmlReader or XmlDocument > classes and then hit your table with SQL Insert commands. > > Let me know if you need me to elaborate so easy to use? Show quoteHide quote > > Thanks, > > Seth Rowe > > > AMP wrote: > > I have a XLM file that contains data, but no schema, How can I read > > this data into a SQL table (this has the correct colums etc > I wonder why anyone would go to such trouble with XMLSerialization is When the OP said "contains data, but no schema" I took that as meaning> so easy to use? it wouldn't deserialize properly. Besides, depending on that how the XML file is structured, a few well built for loops could run through the file fairly easily. Oh well, I guess there's more than one way to skin a cat :-) Thanks, Seth Rowe za***@construction-imaging.com wrote: Show quoteHide quote > rowe_newsgroups wrote: > > > XLM > > > > I guessing you mean XML > > > > One way would be to parse it manually with the XmlReader or XmlDocument > > classes and then hit your table with SQL Insert commands. > > > > Let me know if you need me to elaborate > > I wonder why anyone would go to such trouble with XMLSerialization is > so easy to use? > > > > > Thanks, > > > > Seth Rowe > > > > > > AMP wrote: > > > I have a XLM file that contains data, but no schema, How can I read > > > this data into a SQL table (this has the correct colums etc
OLEDBCommand vs. SQLCommand
Using XPath Against A Node Close a form after x amount of time how to use table in a dataset as data source for combobox? HTML help files cUpdate Custom attribut with reflection Confusing Arraylist BinarySearch problem Need some info about the Load event of Forms and Usercontrols Insert key press in text box Re: Which do you prefer? |
|||||||||||||||||||||||