Hola Federico ...

Yo tebgo algo parecido en el Web.Config, me explico:

<appSettings>

<add key="elemento" value="bla bla bla"/>

</appSettings>

Y con una clase en el AppCode para leer del fichero de configuracion a traves de properties lo resuelvo :

public static string Elemento

{

get

{

try

{

return (string)ConfigurationManager.AppSettings["elemento"];

}

catch (Exception)

{

return String.Empty;

}

}

}

No olvides adicionar  System.Configuration;

Espero resuelvas ...

---
Agustin Galloso Viera
[EMAIL PROTECTED]


Responder a