I want to bind a textbox to a data source so that I can implement IDataErrorInfo.
How would I achieve the functionality that essentially does what
TextBoxClientRenewalDate.DataSource = contract.RenewalDate;
would do, if it existed.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
I’m not really sure what you’re looking for, but usually you would just assign the value to the
Textproperty, like this:I suppose you could use the
DataBinderobject too: