Friday, September 26, 2014

how to read and get value of attributes in string xml using vb.net

I have a string xml and want to get all attributes value according to their name as in string.I am using vb.net.Can i use looping for it if yes then i want to use loop for this.


string xml is below


<PassScroll>

<Pass LedgerName="SB FORMS" SerialFrom="1" SerialTo="100" Qty="10" Rate="10.000000" IssuedQty="5"/>

</PassScroll>


I want to this type of value.


LedgerName = SB FORMS

SerialFrom = 1

SerialTo = 100

Qty = 10

Rate = 10.00

IssuedQty = 5




kalusinghrao


No comments:

Post a Comment