Application
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 [...]
How to solve A potentially dangerous Request.Form value was detected from the client
This kind of problem can come in existance when a form is submitted to server. I faced the problem during migration of Classical ASP Website to C# ASP.NET / MSSQL SERVER website. I hope It will work with all the ASP.NET Websites. A potentially dangerous Request.Form value was detected from the client This kind of [...]
A potentially dangerous Request.Form value was detected from the client
While implementing Login section to one of my clients existing website, I got the following bug, the old website was in clasical ASP. This bug came into exsistence when I was migrating the website From Clasical ASP to ASP.net/ MSSQL SERVER with C# techology. Server Error in ‘/dcorp’ Application. A potentially dangerous Request.Form value was [...]