DataBinding in C# (populate data in a comboBox)

Sdílet
Vložit
  • čas přidán 18. 02. 2021
  • Learn how to do DataBinding in a combo box.
    You can bind anything that is IList in a DataSource. In this simple exercise I show you how to bind a list of people to a ComboBox in C#.
    I hope you liked it.
    P.N
  • Věda a technologie

Komentáře • 10

  • @kleine_Mango
    @kleine_Mango Před 2 lety +2

    This video had all Information i wanted about DataBinding. Thank you :=)

  • @pjetri24
    @pjetri24 Před rokem

    Bravo shqipe.Shume i qarte !

  • @lailymedha595
    @lailymedha595 Před rokem

    wow thanks a lot for such clear explanations 🙌

  • @21-00
    @21-00 Před rokem

    Very good, thanks. It would be interesting to get data dinamically from a Db or populate that people var with data from a Db automatically, then to display it into the comboBox

  • @roanwa4712
    @roanwa4712 Před 11 měsíci

    Thanks man.

  • @steffenm.5124
    @steffenm.5124 Před 8 měsíci

    Thanks for this video it works for me. When you execute the application at the end of the video the messagebox appears before the Form shows because the SelectedIndexChanged event is triggered. How can I avoid that the event is triggered when the Form loads for the first time?

    • @ProgrammersNerds
      @ProgrammersNerds  Před 8 měsíci

      Yes, you have to bind the selected index changed event only after you have filled the data source, and then you programatically hook the evet for index changed. That will do

  • @jdjsjksk
    @jdjsjksk Před rokem

    I don't have any tables on the left upside.