i am trying to retrive 5 column from database, in one is type of XML . while returning to dataset it is treated as string. i need to extract that values as xml and bind to another dataset.
for eg : if my query returns 5 column to dataset, one column is xml. i need to extract that values and store it to another dataset as xml .
i tried to use dstDataset.Tables[0][3].toString(); it returned the entire xml as string. now i need to parse as xml and bind to another dataset.
i hope you pepole got my question.
take a look at the following code:
If you replace xmlData with your the data from the column and make sure the schema is correct this should work.