I have standard databindings setup for all my TextBoxes to an Object like this:
TextBoxMenuID.DataBindings.Add("Text", _selectedObject, "ID");
And I want to bind some of my TextBoxes to a List<> index within that Object like this:
TextBoxQ1.DataBindings.Add("Text", _selectedObject._qList[0].QuestionString, null);
The binding isn’t working this way. Any ideas how to go about this kind of binding?
Thanks,
SleffTheRed
Credit to Mitja for the code, but to change the index just add []’s: