Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9042151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T10:24:54+00:00 2026-06-16T10:24:54+00:00

Hi I am trying to create a registration page.I am using linq to sql

  • 0

Hi I am trying to create a registration page.I am using linq to sql for creating the data models.And have created an aditional class for accesing the data I do not know if this is the corect way to do it but this is how managed to make it work.

Here is my code:

    [Required]
    [DataType(DataType.Password)]
    [Display(Name="Password")]
    public string password
    {
        get { return member.Password; }
        set { member.Password = value; }
    }

    [Required]
    [DataType(DataType.Password)]
    [Display(Name = "Confirm Password")]
    [Compare("Password" , ErrorMessage = "The password and confirm pasword do not match")]
    public string confirmPassword { get;set; }

My database does not have a field for confirm password.I am using the database generated for the Membership API.

When I try to submit the data I get this error:

Could not find a property named Password.

How can I corect this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T10:24:55+00:00Added an answer on June 16, 2026 at 10:24 am

    The error is absolutely correct.

    public string password is lowercase, and .Net is (mostly) case-sensitive.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a user registration page using MVC 3, so that
I'm trying to create simple login/registration page. I'm using index.php which includes login.php in
I am creating a project in struts2 I have created a Registration.jsp page like
I'm trying to create a User Registration page in ASP.NET and wondering what is
I have created a registration form and now I am trying to put null
i'm trying to create a registration system using jsp, beans and servlets. Registration process
I'm trying to create a registration form and validate input fields using javascript, but
I'm trying to create a registration page where one person can register him/herself along
I'm trying to create dynamic tables in my registration page and I've given up
I created a django application with a user login/registration page. I am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.