I would like to know how I can fill a "Date" type textbox with a date obtained from a SQL Server table
Currently I have it like this
txtFecha.Text = (((DateTime)firstTable.Rows[0]["FechaCredito"]).ToString("dd/MM/yyyy")).ToString();
But when it comes to viewing it from the form, it shows me as if nothing had been loaded, instead of filling it, like this:
I am grateful in advance