Click here to Skip to main content
15,928,404 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionerror in my vb.net application Pin
Ravi_2117-Jan-08 1:18
Ravi_2117-Jan-08 1:18 
GeneralRe: error in my vb.net application Pin
dilipv17-Jan-08 21:39
dilipv17-Jan-08 21:39 
GeneralEnumurate Datagrid Rows [modified] Pin
danasegaranea17-Jan-08 0:57
danasegaranea17-Jan-08 0:57 
GeneralRe: Enumurate Datagrid Rows Pin
Paddy Boyd17-Jan-08 1:37
Paddy Boyd17-Jan-08 1:37 
GeneralUnauthorisation error... Pin
koolprasad200316-Jan-08 22:50
professionalkoolprasad200316-Jan-08 22:50 
Questionhow to create print command in list view control Pin
Ravi_2116-Jan-08 22:40
Ravi_2116-Jan-08 22:40 
Questionhow to create administrator username and password? Pin
Basheer16-Jan-08 22:18
Basheer16-Jan-08 22:18 
GeneralRe: how to create administrator username and password? Pin
Colin Angus Mackay17-Jan-08 0:33
Colin Angus Mackay17-Jan-08 0:33 
Questionusing datagrid Pin
Harikrk16-Jan-08 21:32
Harikrk16-Jan-08 21:32 
GeneralRe: using datagrid Pin
_AK_17-Jan-08 19:00
_AK_17-Jan-08 19:00 
QuestionHow to create a table for Placeholder controls Pin
Albert8316-Jan-08 21:26
Albert8316-Jan-08 21:26 
Questiondate query Pin
Pankaj Garg16-Jan-08 20:49
Pankaj Garg16-Jan-08 20:49 
GeneralRe: date query Pin
Colin Angus Mackay17-Jan-08 0:16
Colin Angus Mackay17-Jan-08 0:16 
NewsRe: date query Pin
Pankaj Garg17-Jan-08 2:04
Pankaj Garg17-Jan-08 2:04 
GeneralRe: date query Pin
dilipv17-Jan-08 21:47
dilipv17-Jan-08 21:47 
GeneralConvert DataTable in XML Pin
mpavas16-Jan-08 20:32
mpavas16-Jan-08 20:32 
Hello ,

I am working with an WebService. The current webserivce returns the dataset. Now one of the column in datatable is Author and the author is comma separated.

Example

AuthorName | BookName | Price
Blaze-Tony,Ron-Moraldo| Basic C# | 20
Blaze-Con,Bob-Moraldo | ASP.NET | 20

I want the result of the webservice to be in below format:
The Author names are comma seprated and I will do the split part.
<Table diffgr:id="Table1" msdata:rowOrder="0">
<AUTHORLIST>
<AUTHOR>
<FIRSTNAME>blaze</FIRSTNAME>
<lASTNAME>tony</lASTNAME>
</AUTHOR>

<AUTHOR>
<FIRSTNAME>RON</FIRSTNAME>
<lASTNAME>Moraldo</lASTNAME>
</AUTHOR>
</AUTHORLIST>

<BOOKNAME>Basic C#</BOOKNAME>
<Price>20</Price>

</Table>
<Table diffgr:id="Table2" msdata:rowOrder="1">
<AUTHORLIST>
<AUTHOR>
<FIRSTNAME>Con</FIRSTNAME>
<lASTNAME>Blaze</lASTNAME>
</AUTHOR>

<AUTHOR>
<FIRSTNAME>Bob</FIRSTNAME>
<lASTNAME>Moraldo</lASTNAME>
</AUTHOR>
</AUTHORLIST>

<BOOKNAME>ASP.NET </BOOKNAME>
<Price>20</Price>
</Table>


How shall I achive the same in above XML format. Check the <AUTHORLIST> tag?

Please tell me the approch?

Regards,
Pavas

GeneralPersistent Checkbox Pin
danasegaranea16-Jan-08 19:34
danasegaranea16-Jan-08 19:34 
GeneralRe: Persistent Checkbox Pin
N a v a n e e t h16-Jan-08 21:27
N a v a n e e t h16-Jan-08 21:27 
GeneralRe: Persistent Checkbox Pin
danasegaranea16-Jan-08 21:48
danasegaranea16-Jan-08 21:48 
GeneralRe: Persistent Checkbox Pin
N a v a n e e t h16-Jan-08 22:05
N a v a n e e t h16-Jan-08 22:05 
GeneralRe: Persistent Checkbox Pin
danasegaranea16-Jan-08 22:29
danasegaranea16-Jan-08 22:29 
GeneralRe: Persistent Checkbox Pin
N a v a n e e t h16-Jan-08 23:59
N a v a n e e t h16-Jan-08 23:59 
GeneralLoop through the rows of datagridview Pin
danasegaranea16-Jan-08 19:31
danasegaranea16-Jan-08 19:31 
GeneralRe: Loop through the rows of datagridview Pin
_AK_17-Jan-08 18:58
_AK_17-Jan-08 18:58 
Questionhow to make the droplist items to disabled Pin
jagan12316-Jan-08 19:11
jagan12316-Jan-08 19:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.