c# error
Compiler Error Message: CS0161: ‘users.login(string, string)’: not all code paths return a value
Not All code paths retun a value. comes when we set any function to return any kind of datatype value other than void as Line 25: public string login(string userid, string pwd) above funciton must return string value in every case, no matter if it returns a blank string. Hence, if you din’t check every [...]
Cannot implicitly convert type ‘int’ to ‘string’
Simple type casting problem, actually the value is INT datatype and trying to assign a variable with datatype string. Thats why we must convert variables to respective datatype properly before assigning to any other variable. Server Error in ‘/dcorp’ Application. Compilation Error Description: An error occurred during the compilation of a resource required to service [...]