TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sreekanth Reddy
351
4.8k
421.6k
Parameterized constructor
Apr 29 2016 11:22 AM
In My WebForm1.aspx.cs page, I had written a 3 parameterized constructor.
But it is not executing. It is asking to have 0 parameterized constructor exception.
But I need parameterized constructor. Please provide me solution. Thank you.
public partial class WebForm1 : System.Web.UI.Page
{
public IAuthenticationService _authenticationService;
private IMembershipService _membershipService;
private IUserService _userService;
private IOrchardServices _orchardServices;
private IUserEventHandler _userEventHandler;
public WebForm1( IAuthenticationService authenticationService, IMembershipService membershipService, IUserService userService, IOrchardServices orchardServices, IUserEventHandler userEventHandler)
{
Logger = NullLogger.Instance;
T = NullLocalizer.Instance; _
authenticationService = authenticationService;
_membershipService = membershipService;
_userService = userService;
_orchardServices = orchardServices;
_userEventHandler = userEventHandler;
}
public ILogger Logger { get; set; } public Localizer T { get; set; }
}
Reply
Answers (
5
)
Hi all ! , need help to build an online ERP solution
Not Able to Perform Autocomplete On partial view textbox