Watch this example on YouTube
Compiler Error Message: CS1003: Syntax error, ',' expected
Source Error:
public class _Page_Views_Home_Index_cshtml : System.Web.Mvc.WebViewPage<WebApplication6
Source File: C:\Users\livingroomadmin\AppData\Local\Temp\Temporary ASP.NET Files\root\7b262f84\76261bb7\App_Web_index.cshtml.a8d08dba.46cw3-1d.0.cs Line: 31
To Fix it replace in your view
@model WebApplication6.Models.Customer;
with
@model WebApplication6.Models.Customer
No comments:
Post a Comment