title: Cannot implicitly convert type 'int' to 'System.Data.DataTable'
body: <p>I am trying to update some field in my data table. While using the given below code shows one error. Help me to find a proper solution. Thank you.</p>
  
  <p>Code:</p>
  
  <pre><code>ShadingAnalysisDataSetTableAdapters.tbl_AutoAssignJrEngineersTeamTableAdapter tm;
  tm = new ShadingAnalysisDataSetTableAdapters.tbl_AutoAssignJrEngineersTeamTableAdapter();
  DataTable dt = new DataTable();
  dt = tm.UpdateTeam(AssignedTeam,userName,DateTime.Now,ID); // error popup here
  </code></pre>
  
  <p>SQL:</p>
  
  <pre><code>UPDATE tbl_AutoAssignJrEngineersTeam 
  SET Assigned_Team = @Assigned_Team, 
      Updated_By = @Updated_By, 
      Updated_Date = @Updated_Date 
  WHERE (Id = @Id)
  </code></pre>
  
  <p>DataBase:</p>
  
  <p><img src="https://i.stack.imgur.com/tamhE.jpg" alt="enter image description here"></p>