I have an entity with others entities inside. Per example, Entity A has entities B and C.
So, I want to show in a text box the value of ABSomeProperty when I set a datasource for bindindsource. Is it possible with a workaround? tks
textBox.DataBindings.Add("Text", bindingSource, "B.SomeProperty");
您必须确保B属性不为null。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.