Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Error: No overload for method 'Label' takes 2 arguments
Abhishek Jaiswal
10y
1.4k
1
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)
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
What happens when the URL is entered and press enter key.
About gridview