- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello Jasmin,
Your suggetion worked well. Actually the string itself was not formatting properly. I think i have problem with converting xml to string itself.
I'm getting the xml data from that database as:
<Email>
<EmailId>
<mailId type="nvarchar">,abcd@xyz.com</mailId>
</EmailId>
<EmailId>
<mailId type="nvarchar">,efgh@pqr.com</mailId>
</EmailId>
<EmailId>
<mailId type="nvarchar">,lmop@abc.com</mailId>
</EmailId>
</Email>
This i have to convert to a string: ",abcd@xyz.com ,efgh@pqr.com ,lmop@abc.com"
Later I have to format this string which i can use it on the email control: "abcd@xyz.com ,efgh@pqr.com ,lmop@abc.com" (without comma)
I'm using serialize to convert from xml to string but it is not giving me the desired result. Please suggest me some method to do the above task.
Thanks
Deepak
Views
Replies
Total Likes