开发者

Create XML file from the dataset . Please Arrange node into the following Format

开发者 https://www.devze.com 2022-12-10 16:17 出处:网络
I fill my Dataset From certification table. Columns are the following Certification_name certification_id

I fill my Dataset From certification table. Columns are the following

   Certification_name
   certification_id
   No_of_question,
   Question_name,
   Question_id
   Answer1
   Answer2
   Answer3
   Answer4
   Answer5

I want to Generate a Xml file like Following

  <Root>
   <Certification Certification_id="2" no_of_Question="10" certification_name="Test India">
     <question question_id="2" question_name="what is the Capital of India">
       <Answer1>Delhi</Answer1>
       <Answer2>New Delhi</Answer2>
       <Answer3>Mumbai</Answer3>
       <Answer4>Kolkata</Answer4>
 开发者_高级运维   </question>
   </certification>
  </Root> 

Please Help me...

My name is --Vikas Mishra Emailid-brish.mishra@gmail.com


Gelatin was designed to solve this kind of problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号