3:00 Wouldn't this code be preferred instead of overwriting the ToString method in the Status class?´You simple qualify the Name attribute... for each (Status s in statuses { cboStatus.Items.Add(s.Name) })
The combo box has data properties that can be used! Two lines of code, and you are done.
The part with the list of ComboBox it's not clear for me. I assume the 'ComboBox' underneath the hood calls the method 'ToString()' for the received object and displays the output of the process. The documentation says, " The list then displays the default string value for each object.". I would never guess I should override the ToString method based on that description.
Hello, I want to read not only Username but also the password for the login system that I want to develop.. What should I do?
After you add this override, is there anything more you need to do migration wise?
important thing to highlight is that no SELECT statement needed.
as all videos WELLDONE!
The video quality is not clear i can't see what you are typing
Thank you so much. .... sorry I am not well in English
@tahasaleh4697