tags:

views:

22

answers:

0

hello all ,

a have a problem i hv some data(nodes) in Xmlnodelist and i want to put it into the datarow how can i achive it

thanks shashank

XmlDocument document = new XmlDocument();
            document.Load(CommonUtils.xmlPath);
            XmlNodeList node = document.SelectNodes("/KioskUser/M_EVENT[ROW_STATUS=1]");    \\xml like this <xs:complexType>
          <xs:sequence>
            <xs:element name="PK_USER_ID" type="xs:long" minOccurs="0" />
            <xs:element name="FK_GROUP_ID" type="xs:long" minOccurs="0" />
            <xs:element name="FK_TYPE_ID" type="xs:long" minOccurs="0" />
            <xs:element name="NAME" type="xs:string" minOccurs="0" />
            <xs:element name="ADDRESS" type="xs:string" minOccurs="0" />
            <xs:element name="CITY" type="xs:string" minOccurs="0" />
            <xs:element name="STATE" type="xs:long" minOccurs="0" />
            <xs:element name="POSTAL_CODE" type="xs:string" minOccurs="0" />
            <xs:element name="COUNTRY" type="xs:long" minOccurs="0" />
            <xs:element name="EMAIL" type="xs:string" minOccurs="0" />
            <xs:element name="FK_EVENT_ID" type="xs:long" minOccurs="0" />
            <xs:element name="ROW_STATUS" type="xs:int" minOccurs="0" />
            <xs:element name="DATE_ADDED" type="xs:dateTime" minOccurs="0" />
            <xs:element name