C# hakkında yardım

Status
Not open for further replies.
E

emoboi

Confirmed Memb.
Joined
Dec 11, 2022
Messages
68
Reaction score
1
1675756713613.png kodunu yazdım ve butona basınca guna2textbox'taki yazılı olan veriyi urlnin sonuna ekliyip siteye giriyor fakat siteye girerken 1675756755309.png olarak giriyor.

123qwe benim textbox'a yazdığım veri altı çizili olan ekstra geliyor bu sayede link bozuk çıkıyor nasıl düzeltebilirim?
 
S

Selyk

Prince Of Darkness
Super Moderator
Joined
Sep 6, 2020
Messages
2,470
Reaction score
1,626
Kodu bu şekilde düzenleyin sorununuz çözülecek.
C#:
driver.Navigate().GoToUrl("https://www.instagram.com/" + guna2TextBox1.Text);
 
O

Osderda

>.....
Admin
Joined
Sep 19, 2019
Messages
2,893
Reaction score
3,919
Location
X399+WF3 Kadıköy, İstanbul
guna2TextBox, TextBox dan Inheritance(Miras) alır. Yani TextBox
bir sınıftır ve sadece sınıfı yazarak bir veri elde edemezsiniz. Sınıfın bir özelliğini çekmeniz gerekir. Selyk'in yukarıda verdiği kod, Text özelliğini çeker.
 
Status
Not open for further replies.
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom