You have to learn what scope and access of a variable are!
You have here a read only property (and it's read only because it have only property
getter, so you can only get its value):
public string strDisplayMember
{
get { return _cstrdisplayMember; }
}
To make it writable you have to add a property
setter (which enables to set its value), something like this:
public string strDisplayMember
{
get { return _cstrdisplayMember; }
set { _cstrdisplayMember = value; }
}
http://msdn.microsoft.com/en-us/library/w86s7x04.aspx[
^]
---
Do yourself a favor and learn these basic elements of C# - do not write any code until you understand them by heart...