Hi,
By using entity framework i converted from query to list,the list has some childrens now i need to convert that list to xml.pso please send me code its an urgent requirement to me..
Hi,
By using entity framework i converted from query to list,the list has some childrens now i need to convert that list to xml.pso please send me code its an urgent requirement to me..
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Oct 22, 2012, 1:56 AM EDT
Note however that your class 'T' needs to have an implicit or explicit parameterless constructor for this to work.
}
The resulting XML file, persons.xml, looks like this:
ravi kiran102 reputationPosted Oct 22, 2012, 2:08 AM EDT
required ouput shold be given below
In list it is showing Home have 0 children, Contact have 4 children,opportunity have 3 children,Documents have 2 children and Accounts have 4 children.plz send me code its an urgent requirement to me.
VulpesRank #55 · 29.2K reputationPosted Oct 22, 2012, 2:40 AM EDT
ravi kiran102 reputationPosted Oct 22, 2012, 3:34 AM EDT
here in x variable i am getting list which have childrens also now i need to convert it into xml.
ravi kiran102 reputationPosted Oct 22, 2012, 3:51 AM EDT
i am sending my code through attachment plz once check it....
ravi kiran102 reputationPosted Oct 22, 2012, 3:55 AM EDT
here i am sending one more attachment i.e print screen of table which i used in my code...geeting errors when i am trying to convert from list to xml,please help me its an urgent requirement to me...
ravi kiran102 reputationPosted Oct 22, 2012, 3:58 AM EDT
after converting to xml,i want to create dynamic menu by using that xml...
VulpesRank #55 · 29.2K reputationPosted Oct 22, 2012, 6:05 AM EDT
I don't have time to reproduce all 18 Navigation nodes manually but I've used the first 6 to show that it's feasible to do this using XML serialization:
The resulting XML file looks like this:
ravi kiran102 reputationPosted Oct 22, 2012, 8:18 PM EDT
Actuall my requirement is to create a dynamic menu by using entity framework,i did upto some extent getting error when i am trying to convert from list to xml ,i am sending my code through attachment plz once check it and send me code its very urgent requirement....thanks alot for ur response...
ravi kiran102 reputationPosted Oct 22, 2012, 8:21 PM EDT
here i am sending one more attachment i.e print screen of table which i created in database and that table i used in my code....plz help me...
ravi kiran102 reputationPosted Oct 23, 2012, 4:01 AM EDT
thanks my problem solved i created dynamic menu by using entity framework but now the problem is i want to add style sheet to that dynamic menu....please tell me..