Database values in textbox if select Combobox C#

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 60

  • @rodneygawaseb8717
    @rodneygawaseb8717 5 лет назад

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

  • @mohamadsaleemshaikh2532
    @mohamadsaleemshaikh2532 5 лет назад

    Thanks A Lot Sir May You Live Long And Happy

  • @MicrosiMe
    @MicrosiMe 8 лет назад

    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

  • @EatSingJankiRepeat
    @EatSingJankiRepeat 5 лет назад +1

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

  • @samseleven1
    @samseleven1 6 лет назад +1

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

  • @gover142
    @gover142 7 лет назад +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.

  • @sagarkawthankar3876
    @sagarkawthankar3876 7 лет назад

    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!

  • @rosemayc3989
    @rosemayc3989 6 лет назад

    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

  • @themiyalumia1383
    @themiyalumia1383 4 года назад

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

  • @AlnawazInternational
    @AlnawazInternational 4 года назад

    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?

  • @Ryfund
    @Ryfund 5 лет назад

    2019 And Still Useful, Thanks a lot !

  • @DaleBurnsJr
    @DaleBurnsJr 7 лет назад

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

  • @jeromekentbayubay
    @jeromekentbayubay 8 лет назад

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

  • @sarang9318
    @sarang9318 10 месяцев назад

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

  • @johnnymac1758
    @johnnymac1758 7 лет назад

    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  7 лет назад

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

  • @maniahsan4058
    @maniahsan4058 6 лет назад

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

  • @haqobatil9832
    @haqobatil9832 6 лет назад

    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

  • @borrisgabriel8626
    @borrisgabriel8626 2 года назад

    This really helped! Thank you sir!

  • @raleenadarwesh315
    @raleenadarwesh315 2 года назад

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

  • @ARMANDOBACOLOD
    @ARMANDOBACOLOD Год назад

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

  • @layout78
    @layout78 7 лет назад

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

  • @wanderwithshizu
    @wanderwithshizu 7 лет назад

    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  7 лет назад +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 7 лет назад

      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

  • @MicrosiMe
    @MicrosiMe 8 лет назад

    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  8 лет назад +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 4 года назад

    How we can do this using SQL linq

  • @erkancankurt4327
    @erkancankurt4327 8 лет назад

    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

  • @taherakhatun2395
    @taherakhatun2395 6 лет назад

    Helpful Video... Thank You Sir..

  • @christopherastorga437
    @christopherastorga437 6 лет назад

    Thank you so much sir well done 👍

  • @robinrai341
    @robinrai341 7 лет назад

    thank u very much really helpful for my project

  • @donlodsinaga129
    @donlodsinaga129 5 лет назад

    thanks bro, helpful video

  • @rendranuryuliadi748
    @rendranuryuliadi748 Год назад

    Arigatou-gozaimasu🕴️

  • @mohammadakram7067
    @mohammadakram7067 5 лет назад

    you solved my problem bro thanks

  • @HassaanRaza
    @HassaanRaza 7 лет назад

    Thanks dude (life saver)

  • @sltechnology4828
    @sltechnology4828 Год назад

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

  • @abdiazizhussein1375
    @abdiazizhussein1375 6 лет назад

    Thanks Sir Amit

  • @sheikhkelvin8650
    @sheikhkelvin8650 3 года назад

    want to give you a project. will pay you

  • @thisarasenarathna5982
    @thisarasenarathna5982 Год назад

    thanks a lot

  • @parthvaghrodiya9801
    @parthvaghrodiya9801 5 лет назад

    thanks

  • @SunShine24024
    @SunShine24024 4 года назад +1

    👍👍👍👍

  • @keerthinaidu2046
    @keerthinaidu2046 6 лет назад

    I want this in jsp

  • @nanidancer
    @nanidancer 6 лет назад

    good job

  • @audiolibrarymusic7528
    @audiolibrarymusic7528 4 года назад

    Super!!!!!

  • @armanhossain1352
    @armanhossain1352 7 лет назад

    Nice job

  • @anjalikesarwani8331
    @anjalikesarwani8331 7 лет назад

    Thanks

  • @k1much1n
    @k1much1n 7 лет назад

    Thanks!!!!

  • @mehtapugur6422
    @mehtapugur6422 5 лет назад

    great :)

  • @rendranuryuliadi748
    @rendranuryuliadi748 Год назад

    Arigatou-gozaimasu🕴️

  • @alamusivakumar2
    @alamusivakumar2 Год назад

    Thanks

  • @rendranuryuliadi748
    @rendranuryuliadi748 Год назад

    Arigatou-gozaimasu🕴️