Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
'<NewDataSet>
  <AcsPurDet>
    <APId>0</APId>
    <ExNo>LST/0430-10</ExNo>
    <APCId>25185</APCId>
    <APCNo>85</APCNo>
    <ACSId>16071</ACSId>
    <AcsType>Packing Material</AcsType>
    <AcsName>Label (Cotton 40°-1/2x2 1/4")</AcsName>
    <Color>NA</Color>
    <PUnit>Pcs</PUnit>
    <CUnit>Pcs</CUnit>
    <ConvFactor>1</ConvFactor>
    <BarCode>NA</BarCode>
    <PluNo>D-ASST</PluNo>
    <OrdQty>8874</OrdQty>
    <Qty>8874</Qty>
    <ExcessQty>0</ExcessQty>
    <Rate>0.023</Rate>
    <APCSlno>2</APCSlno>
    <ExpOrdId>6771</ExpOrdId>
    <PrevQty>8874</PrevQty>
    <BalQty>8874</BalQty>
  </AcsPurDet>
</NewDataSet>'



I can not able to store this in db
Please help
Posted

Here, have a read at the similar discussion[^] with possible resolution.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 31-May-11 16:48pm    
Correct, my 5, but I provided more convenient answer, no need to dig it out from the link.
Please see.
--SA
1) Use UTF-8 with the prolog <?xml version="1.0" encoding="UTF-8"?> and use your symbol as is. As a variant, use any other Unicode UTF with appropriate XML prolog. Make sure you save your XML file in the same encoding with is claimed in the prolog. :-) You don't have to use BOM character.

2) Use character entity for a degree sign: &#176;.

—SA
 
Share this answer
 
v2
Comments
Sandeep Mewara 1-Jun-11 1:38am    
Thanks. My 5 too!
Sergey Alexandrovich Kryukov 1-Jun-11 2:04am    
Thank you.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900