CLR: .Net / Mono / Boo / Otros CLR > C#
Cmo guardar datos de varios textbox en un documento de texto
ppuuttaa2:
IOExcepcion was unhandled
StreamWriter escrito = File.CreateText("c:\archivoCliente.txt");
No pasa de ahi no me crea el archivo, ni tampoco me lee cuando ya creo uno con el comando:
StreamWriter escrito = File.AppendText("c:\file.txt");
Intente un try
try {
StreamWriter escrito = File.CreateText("c:\archivoCliente.txt");
}catch (Exception)
{
throw new System.IO.IOException("File Open Error!");
}
Pero me sigue dando el mismo error. Ayuda porfavor. No se que sucede ya he buscado algunos foros y no me ayudan con este problema gracias (:
Navegación
[*] Página Anterior
Ir a la versión completa