Handling dynamic user control with SQL Database | C# Winforms

preview_player
Показать описание
☕ *Buy me a coffee!*
📧 *Email*
🔗 *Source Code :*
🔗 *FOR FREE:*
🔗 *Part 1 - Previous Video Without Database :*

––––––––––––––––––––––––––––––
Track: Lisbon — Ason ID [Audio Library Release]
Music provided by Audio Library Plus
––––––––––––––––––––––––––––––

🎵 Track Info:

Title: Lisbon
Artist: Ason ID
Genre: Dance & Electronic
Mood: Calm
———

😊 Contact the Artist:

Ason ID:

———
Рекомендации по теме
Комментарии
Автор

Just found a way to perform a user control click event when click on any control placed on it. Such as button, Labels, & panel etc.
Load this event on UserControl_Load for every control you want to trigger user control click.
For example you want user control to be clicked if you click a label:
YourLabelName.Click += new EventHandler((object sender, EventArgs e) => this.OnClick(e));

AaricAaiden
Автор

Hello, Thanks for a good example. But i have problem to set clickEvents. Everything is the same but still not working. Can you help me pls ?

magetserbia
Автор

hello, I have try this code but there are 3 Error when I start the project It is in
pb_icon. Image = obj.Icon;
lbl_title. Text =obj.Title ;
lbl_subtitle. Text=obj.SubTitle;
the errors says Cannot implicitly convert type to 'System.Drawing.Image' and Cannot implicitly convert type 'System.Windows.Forms.Label' to 'string'

please help me fix this
please show us the code of the panel

soilobaisa
Автор

Please help me. Can I ask for the source code? I was confused when I saw the tutorial, especially the last part in Form1.

rendranuryuliadi
Автор

I have a forein key in my table but when I want to add this foreig key in my User Control, the progam give a error that the column don't exist, help me,
other think, I want to populate in my FlowLayoutPanel with eventHandler foreig key.

pako_tube
Автор

System.InvalidCastException: 'Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'.'
gives this exception used same code as urs
not getting the issue

hpawar
Автор

can you help to add buttons for Previous Next to display in flowlayoutpanel i cannot find anywhere information how to do that if flowlayout autoscroll is false

georgipetev
Автор

Hi, can you tell me how to show in flowlayoutpanel usin where in query by clicking on a datagridview column please

JudgementHand
Автор

I want my user controls to show even after runtime and when I run my project again

Code_with_Iphie
Автор

Wha if we want to edit an item? How to get the id of the click control?

exogendesign
Автор

Bro when i press label dont return :/ only accept empty space

cavidhemidzade
Автор

friend i'm having a problem that i can't restore the database image, i could do it with the image URL, please help me please

guilherme
Автор

can you please share the project or github link??

hamzatariq
Автор

Hello can I have the project link pls 🙏🙏🙏
I have problems white the saving in db an read from db

koksagent
Автор

Hi, you save my life, but i have a bug, the first user control appears two times, how can i fix it?

matias-
Автор

Hey! I have a button on the User Control, can you help me how to make a click event for the button in the main form?

lakatosmartin
Автор

Can i see your refresh button code pls🙏🙏🙏

aominevibe
Автор

Refresh button code plsss🙏🙏🙏 I need 😅

aniko
Автор

Hi, I have sent email please reply, send me source code

donkauf
Автор

Hello! I sent an email asking for the source code :)

salviasoyle