public DataTable ConvertXMLIntoDataTable(string inputData)
{
DataTable dtDataConverted = null;
try
{
StringReader stringReader = new StringReader(inputData);
DataSet dsData = new DataSet();
dsData.ReadXml(stringReader);
dtDataConverted = dsData.Tables[0];
}
catch (Exception ex)
{ }
return dtDataConverted;
}
No comments:
Post a Comment
Put your comments here