i need to insert data from an xml file into sql server table.
the xml file contains only one record.
how to insert the data? how to map the names of the fields in the xml file
and the table?
thank you in advance.

Re: insert xml data into sql server? by news

news
Fri Nov 21 19:07:47 CST 2003

Hey,Try create a DataSet Instance,load data xml file in it,with
SqlDataAdapter may solove this problem.

--
----------Ñ©ÔÆÓ¥
¾´ÉÏ--------------

MSN:xueyunying@hotmail.com
ÐÅÄî:·ÖÏí֪ʶ¡¢¹²
´´¼¤Çé¡¢¹²Í¬³É¾Í

Blog:http://shanquan.blogone.net
-----------------
-----------------

"maltchev" <maltchev@yahoo.com> дÈëÓʼþ
news:REwvb.453405$9l5.83596@pd7tw2no...
> i need to insert data from an xml file into sql server table.
> the xml file contains only one record.
> how to insert the data? how to map the names of the fields in the xml file
> and the table?
> thank you in advance.
>
>