c# - textEntry.Text output is Gtk.Entry (mono) -


I try to get the text of an entry with this code:

  This.myEntry .text ();  

I have also tried:

  this.myEntry.Text.ToString (); This.myEntry.ToString ();  

But what I get is Gtk.Entry and not text from the login. How can I fix this?

I think you should use

string text = This.myEntry.Text;


Comments

Popular posts from this blog

mysql - How to enter php data into a html multiple select box -

java - Can't add JTree to JPanel of a JInternalFrame -

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -