Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
Error: No overload for method 'Label' takes 2 arguments
Abhishek Jaiswal
Sep 1 2014 5:03 AM
1.4k
Reply
Hello!
am getting this error
Description:
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message:
CS1501: No overload for method 'Label' takes 2 arguments
Source Error:
Line 58: <%Html.ValidationSummary(); %>
Line 59: <div class="form-group">
Line 60:
<%Html.Label("Select Chart:", new
{ @class = "col-md-2, control-label"}); %>
Line 61: <div class="col-md-10">
Line 62: <%Html.DropDownList("Chart", ViewData["Chart"] as SelectList, new
{ @class = "form-control" }); %>
How to resolve it ?
(using asp.net MVC2)
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
What happens when the URL is entered and press enter key.
About gridview