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

  • Home
  • SEARCH
  • 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 935321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:08:17+00:00 2026-05-15T21:08:17+00:00

I am having difficulty binding to a property on my object. This is my

  • 0

I am having difficulty binding to a property on my object.

This is my property:

    private int? Tid;
    private int? innerTenantID { 
        get { return Tid; } 
        set { 
            Tid = value; 
            innerTenant = (value.HasValue)? Tenant.GetTenantByID(value.Value) : null;
        } 
    }

And this is my attempt to bind:

        this.DataBindings.Add(new Binding("innerTenantID", tblCashReceiptsBindingSource, "TenantID"));

I get, ArguementException, “Cannot bind to the Property ‘innerTenantID’ on the target control. Prameter name: PropertyName;

The TenantID value is a nullable integer.

  • 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-05-15T21:08:17+00:00Added an answer on May 15, 2026 at 9:08 pm

    The first thing I see, is that the getter and setter is not public. Probably this is the problem.

        private int? Tid; 
        public int? innerTenantID {  
            get { return Tid; }  
            set {  
                Tid = value;  
                innerTenant = (value.HasValue)? Tenant.GetTenantByID(value.Value) : null; 
            }  
        } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having difficulty referencing this from within a javascript inline function, within an object
I'm having difficulty understanding variable shadowing in JavaScript based on scopes. Consider this small
Having difficulty with getting Flowplayer to work nicely with RTMP. This is currently my
I've been having difficulty getting anything more than a simple index / to return
I'm having difficulty converting some NSOperation code to ARC. My operation object uses a
I am having difficulty trying to get a very simple scenario working with PRISM
Having difficulty finding relevant search results... Given this model: public abstract class A {
I'm having difficulty getting the binding to fire off on a user control that
Im having difficulty in understanding how the pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)rowinComponent:(NSInteger)component works Ive set up
I'm having difficulty correctly Data Binding my models in the view. I have a

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.