0
I’m on a database replication project and I’m going through a problem.
When referencing a field that comes from a textbox it is bringing all the information from the textbox and not just the value that I entered into it. This is my code:
string conexao = "Server=localhost;port=5432;User Id="+db.Usuario.ToString()+";Password="+db.Senha.ToString() + ";Database="+db.Banco.ToString();
Follow picture.
How can I resolve this so that only the text inside the textbox appears? Thanks for your help.
tried to use
.Text
? I think you’re reading your own textbox– Ricardo Pontual
Does this Answer your Question? How to obtain the values of a textbox?
– Focos