paulo roberto

paulo roberto

  • NA
  • 305
  • 536

.USP_Student_Update() error Only this procedure gives error.

Feb 5 2017 8:12 AM
public IEnumerable<string> updateStudent(int stdId ,string StudentName, string StudentEmail, string Phone, string Address)
{
return objapi.USP_Student_Update(stdId, StudentName, StudentEmail, Phone, Address).AsEnumerable();
}
Severity Code Description Project File Line Suppression State
Error CS0266 Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<shanuWebAPICRUDSP.StudentMaster>' to 'System.Collections.Generic.IEnumerable<string>'. An explicit conversion exists (are you missing a cast?) shanuWebAPICRUDSP C:\PauloTinel\ProjetoscSharpMvc\EasyTalk\shanuWebAPICRUDSP\Controllers\studentsController.cs 41 Active

Answers (1)