Answered step by step
Verified Expert Solution
Question
1 Approved Answer
private void buttonDepoEkle _ Click ( object sender , EventArgs e ) { try { if ( string . IsNullOrWhiteSpace ( textBoxDepoAdi . Text )
private void buttonDepoEkleClickobject sender EventArgs e try if stringIsNullOrWhiteSpacetextBoxDepoAdiText textBoxDepoAdi.Text.Length MessageBox.ShowLtfen en az iki karakter ieren depo adn girin.", "Hata", MessageBoxButtons.OK MessageBoxIcon.Error; return; if stringIsNullOrWhiteSpacetextBoxAdresText MessageBox.ShowLtfen adresi girin.", "Hata", MessageBoxButtons.OK MessageBoxIcon.Error; return; string depoAdi textBoxDepoAdi.Text; string adres textBoxAdres.Text; string sorgu $"INSERT INTO tblDepolar DepoAd Adres VALUES depoAdiadres; vtInsertsorgu; DepolariListele; Kontroller.TbTemizlethis; MessageBox.ShowDepo baaryla eklendi.", "Bilgi", MessageBoxButtons.OK MessageBoxIcon.Information; catch Exception ex MessageBox.ShowBir hata olutu: exMessage, "Hata", MessageBoxButtons.OK MessageBoxIcon.Error; kodu aklar msn
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started