title: Web Service Method Can't return a DataTable?
body: <p>Here's the Web Service Method:</p>
  
  <pre><code>[WebMethod]
  [SoapHeader("m_Token", Direction = SoapHeaderDirection.InOut)]
  public DataTable GetUserProfile()
  </code></pre>
  
  <p>Here's the line of code I use to call this method:</p>
  
  <pre><code>DataTable DT = (DataTable) m_ServerApp.GetUserProfile();
  </code></pre>
  
  <p>Here's the error which the compiler throws:</p>
  
  <p>Cannot convert type
  'WSAClient.ServerApp.GetUserProfileResponseGetUser ProfileResult' to
  'System.Data.DataTable'</p>
  
  <p>What is the problem? Thanks..</p>