How to convert Generics list to xml and then insert converted xml to DB

Posted by Krishnasamy2008 under Regular Expressions on 2/15/2011 | Points: 10 | Views : 5967 | Status : [Member] | Replies : 1
Hi Friends,
How to convert Generics list to xml and then insert converted xml to DB.Can anyone guide me or send me some site.My generics list is having more than one record.


Thanks and Regards,
Krishna.K




Responses

Posted by: Karthikanbarasan on: 2/15/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

You need to serialize it first and then take the XML and insert to the DB. Check these links

http://kiranpatils.wordpress.com/2008/09/23/generic-list-to-xml-using-linq/

http://vb.net-informations.com/xml/vb.net-xml-insert-database.htm

Thanks
Karthik
www.f5Debug.net

Krishnasamy2008, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response