Database values in textbox if select Combobox C#

Sdílet
Vložit
  • čas přidán 8. 07. 2016
  • Need Help Or Need code?
    Feel Free To Contact Us Here
    www.noblecomputer.co.in/suppor...
    using this tutorial you can easily understand that
    C# Database values in textbox if select Combobox,
    How to Link Combobox with Database values,how to display combobox value in textbox in c#,how to get selected value from combobox in c#,how to populate textbox based on combobox selection in c#,how to retrieve data from database in combobox c#
  • Věda a technologie

Komentáře • 60

  • @rodneygawaseb8717
    @rodneygawaseb8717 Před 5 lety

    Thank Mr. Andipara,
    This Tutorial rescued my lil dilemma...
    Kind regards

  • @samseleven1
    @samseleven1 Před 5 lety +1

    Thanks a lot! You saved me a lot of headaches!

  • @jeromekentbayubay
    @jeromekentbayubay Před 7 lety

    Man I love you! you gave me Idea thanks a lot! you're a life saver!

  • @DaleBurnsJr
    @DaleBurnsJr Před 7 lety

    Great tutorial! Was able to make a nice data entry program with it!

  • @maniahsan4058
    @maniahsan4058 Před 5 lety

    really such a great work for beginners...Thanks :)

  • @themiyalumia1383
    @themiyalumia1383 Před 4 lety

    thank you.it is helped to my final year project.

  • @mohamadsaleemshaikh2532

    Thanks A Lot Sir May You Live Long And Happy

  • @RefundGamingYT
    @RefundGamingYT Před 4 lety

    2019 And Still Useful, Thanks a lot !

  • @robinrai341
    @robinrai341 Před 7 lety

    thank u very much really helpful for my project

  • @taherakhatun2395
    @taherakhatun2395 Před 6 lety

    Helpful Video... Thank You Sir..

  • @christopherastorga437
    @christopherastorga437 Před 6 lety

    Thank you so much sir well done 👍

  • @borrisgabriel8626
    @borrisgabriel8626 Před 2 lety

    This really helped! Thank you sir!

  • @HassaanRaza
    @HassaanRaza Před 6 lety

    Thanks dude (life saver)

  • @donlodsinaga129
    @donlodsinaga129 Před 5 lety

    thanks bro, helpful video

  • @mohammadakram7067
    @mohammadakram7067 Před 5 lety

    you solved my problem bro thanks

  • @sagarkawthankar3876
    @sagarkawthankar3876 Před 7 lety

    Whenever I select any item from combo box, corresponding values are not shown in text boxes but when I select another value from combo box, the previous values are displayed. Please help! I have done the exact same thing. Also, when I double click on combo box, studio creates a function private void pickname_SelectionChanged(object sender, SelectionChangedEventArgs e)
    I changed it to function you have but still same thing is happening!

  • @armanhossain1352
    @armanhossain1352 Před 7 lety

    Nice job

  • @EatSingJankiRepeat
    @EatSingJankiRepeat Před 5 lety +1

    Hi , can i add data into datagrid view and then save this data into Ms access database ? Thanks .

  • @abdiazizhussein1375
    @abdiazizhussein1375 Před 6 lety

    Thanks Sir Amit

  • @rendranuryuliadi748
    @rendranuryuliadi748 Před 10 měsíci

    Arigatou-gozaimasu🕴️

  • @k1much1n
    @k1much1n Před 7 lety

    Thanks!!!!

  • @audiolibrarymusic7528
    @audiolibrarymusic7528 Před 3 lety

    Super!!!!!

  • @rosemayc3989
    @rosemayc3989 Před 6 lety

    Hi can u help me.. I have a combobox and a checkedlist box. What i want to happen is once i choose one element in combobox, correspoding data will appear on the checkedlist box for me to check also.. I dont know how to do it. Wld u mind helping me.pls

  • @MicrosiMe
    @MicrosiMe Před 7 lety

    mistake was , i was using companyname, insetad of * in the quiary
    can you write a code on how to make the same combobox to auto complete?
    your videos are the BEST among others on the internet
    Thanks

  • @gover142
    @gover142 Před 7 lety +1

    Hello. I have one question. What if I want to display in combobox two values? For example, I have in database firstname and lastname (seperate). Can you help me with this? :) Thanks a lot for your work.

  • @nanidancer
    @nanidancer Před 6 lety

    good job

  • @anjalikesarwani8331
    @anjalikesarwani8331 Před 6 lety

    Thanks

  • @raleenadarwesh315
    @raleenadarwesh315 Před 2 lety

    thank you so much for the combobox value retreival coding, really helpful

  • @sltechnology4828
    @sltechnology4828 Před rokem

    THANKS BROOOOOOOOO!...😘😘😘😘😘😘😘😘

  • @mehtapugur6422
    @mehtapugur6422 Před 5 lety

    great :)

  • @parthvaghrodiya9801
    @parthvaghrodiya9801 Před 4 lety

    thanks

  • @AlnawazInternational
    @AlnawazInternational Před 4 lety

    Hi Amit, I did the coding as per your instructions, and I succeeded to create this program but there is a problem: my data in table in sql data base is in Urdu, which is successfully displaying in the combo box, but when I change or select any other text from that combo box then my text boxes (city, country, Id) are not getting any data !!!! (they remain blank) after a lot of trying now I have added some data in the table in English as well Urdu then checked again my program, now it is proper working for English text but not on Urdu text. Can you help me in this regard?

  • @haqobatil9832
    @haqobatil9832 Před 6 lety

    sir i make two combobox one is load value form company name and when i select it 2nd will load only that company products in that in c# with access database kindly resolve my problem

  • @layout78
    @layout78 Před 7 lety

    Sir, How do i display the database values in datagridview on selected combobox item. Please help

  • @SunShine24024
    @SunShine24024 Před 3 lety +1

    👍👍👍👍

  • @thisarasenarathna5982
    @thisarasenarathna5982 Před 10 měsíci

    thanks a lot

  • @sarang9318
    @sarang9318 Před 6 měsíci

    Can you please tell me how to code for radio buttons like this?

  • @erkancankurt4327
    @erkancankurt4327 Před 7 lety

    hi , thanks a lot your helpful lesson.I did and It works but I need to know one more thing about it that how we can do that if we have more combobox selections.I mean that a textbox will show the data after we choose two different combobox elements .I applied below code but it doesn't work.please help me about this problem.
    cmd.CommandText = "SELECT * FROM table1 WHERE name = '" + comboBox2.Text + "' and surname ='" + comboBox3.Text + "
    please help me on Access database .thanks

  • @ARMANDOBACOLOD
    @ARMANDOBACOLOD Před rokem

    what is the function of dr?
    why won't work on me

  • @johnnymac1758
    @johnnymac1758 Před 7 lety

    You shouldn't use a query that looks for a name because there will come a time when you'll have two people with the same name and your query would show the result of the first row it finds with that name. Use the id instead since it's unique.

    • @amitandipara11981
      @amitandipara11981  Před 7 lety

      +Johnny Mac yes i know this is for learning purpose you can use id..

  • @MicrosiMe
    @MicrosiMe Před 7 lety

    Man
    I got everything working, but when I select the item from the combobox, i get an error saying
    Column 'companyname' does not belong to table .

    • @amitandipara11981
      @amitandipara11981  Před 7 lety +1

      +MicrosiM diysmps check your table column name there is different column name in table means companyname column not available in your table.

  • @anugrah53
    @anugrah53 Před 3 lety

    How we can do this using SQL linq

  • @wanderwithshizu
    @wanderwithshizu Před 7 lety

    What if i have two combobox to check, how do i do that, can yu help please(just retrieve data from db to textbox)

    • @amitandipara11981
      @amitandipara11981  Před 7 lety +1

      +Newb Tech hello thanks for watching my video, if you have two combobox then you have to write query and after && you have to pass second combobox value.

    • @layout78
      @layout78 Před 7 lety

      Sir, i still have doubts, if i can get your email address i can mail you with my doubts.or my email is : neerajc10n3@gmail.com

  • @sheikhkelvin8650
    @sheikhkelvin8650 Před 3 lety

    want to give you a project. will pay you

  • @keerthinaidu2046
    @keerthinaidu2046 Před 6 lety

    I want this in jsp

  • @rendranuryuliadi748
    @rendranuryuliadi748 Před 10 měsíci

    Arigatou-gozaimasu🕴️

  • @alamusivakumar2
    @alamusivakumar2 Před rokem

    Thanks

  • @rendranuryuliadi748
    @rendranuryuliadi748 Před 10 měsíci

    Arigatou-gozaimasu🕴️