C# - How To Search Values From MySQL Database And Set It Into TextBox In C# [with source code]

  Рет қаралды 57,200

1BestCsharp blog

1BestCsharp blog

Күн бұрын

Пікірлер: 27
@punamwaje1456
@punamwaje1456 5 жыл бұрын
This tutorial video is really helped me to complete my project... Thank you so much 🙏
@FilthyLemon
@FilthyLemon 8 жыл бұрын
If I had a penny for every coding tutorial without somebody explaining...
@1BestCsharpblog
@1BestCsharpblog 8 жыл бұрын
enter the id you want to search for, the id type i use in my database is integer so i have to convert the text id to integer, if a data exists with this id show it, if not show a message or ........ the source code in the description
@jay-annoliveros5358
@jay-annoliveros5358 2 жыл бұрын
hello how about instead of using textbox and button. Use combobox, does the code is still the same?
@1BestCsharpblog
@1BestCsharpblog 2 жыл бұрын
use "comboBoxName.Text;"
@jay-annoliveros5358
@jay-annoliveros5358 2 жыл бұрын
@@1BestCsharpblog Thank you!! but do I really need to use a button? Can I just select a item in combobox then auto fetch the other data to the textbox?
@sammypaige9286
@sammypaige9286 3 жыл бұрын
I came across your video and It helped me a lot but I'm wondering... I have a datagridview and wish to automatically select the searched data on it. Hope you can help me..
@tragen13
@tragen13 6 жыл бұрын
i want to use the getdata query instead of the sql commands, can you help?
@yusufs8575
@yusufs8575 7 жыл бұрын
Hi, is it the same code when you want to connect access database? not with sql
@xmaster040
@xmaster040 7 жыл бұрын
3:21 I dont want to use int for my textbox because i also want to use letters what do i have to do?
@1BestCsharpblog
@1BestCsharpblog 7 жыл бұрын
WHERE id = '" +TextBoxID.Text+ "'"
@xmaster040
@xmaster040 7 жыл бұрын
thank you!
@satyeshdubey1282
@satyeshdubey1282 4 жыл бұрын
how we can show fie path in fileupload like this after clicking button
@coroomchannel414
@coroomchannel414 4 жыл бұрын
what about string (textbox) searching?
@RodrigoSilva-eo6mv
@RodrigoSilva-eo6mv 6 жыл бұрын
you are the best
@OrderOfLemons
@OrderOfLemons 7 жыл бұрын
Hi #1BestCsharp blog, I tried using this in my code: string sq = "SELECT * FROM new.users WHERE username=" + username_Txt.Text; - but resulted in an error. Is there a away to fix it up correctly?
@1BestCsharpblog
@1BestCsharpblog 7 жыл бұрын
try this : string sq = "SELECT * FROM new.users WHERE username='" + username_Txt.Text+"'";
@OrderOfLemons
@OrderOfLemons 7 жыл бұрын
1BestCsharp blog thank you. worked :)
@OrderOfLemons
@OrderOfLemons 7 жыл бұрын
Another question, im getting an error with this: cmd.CommandText = "SELECT * from chat LIMIT " + cCfirst + "," + cClast + "'"; How do i word it correctly?
@garudakurt5166
@garudakurt5166 3 жыл бұрын
@@1BestCsharpblog 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Code=' at line 1. What's wrong with this I follow this format but I got this error message! I hope you can help me.
@srilankann5947
@srilankann5947 4 жыл бұрын
Sir how to Create barcode rdlc report c#
@kamleshjha21
@kamleshjha21 4 жыл бұрын
please give this code in 3 layer architecture or make a video for this part in 3 layer architecture(files in 3 layer is DAL, BEL, BAL and last but not least is main page or a button_click))
@nareshs3962
@nareshs3962 7 жыл бұрын
use full video sir
@alkadedhia2498
@alkadedhia2498 5 жыл бұрын
Not working
@efrainjoseejmj6579
@efrainjoseejmj6579 6 жыл бұрын
danilo gostoi dos teus curso em video mas esto com dilfilculdade
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 8 МЛН
Database values in textbox if select Combobox C#
14:39
Amit Andipara
Рет қаралды 63 М.
C# Mysql Search Data & Show In GridView [Source Code]
14:07
codegenlab
Рет қаралды 2,4 М.
C# Tutorial : Retrieve data from MySql database
18:03
Programming for Everybody
Рет қаралды 2,7 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29