Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/03/2010, 09:34
Ka0stj
 
Fecha de Ingreso: febrero-2010
Ubicación: México
Mensajes: 738
Antigüedad: 14 años, 2 meses
Puntos: 37
Respuesta: Urgente, quitar diagonales de una fecha

Hola alejimram_22

Prueba lo siguiente:

Código c#:
Ver original
  1. DateTime Fecha = Convert.ToDateTime( dateTimePicker1.Text);
  2. String Cadena = Fecha.ToString("d");
  3. this.txtBox.Text = Cadena.Replace("/", "");