Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/05/2005, 09:42
Avatar de Jose_minglein2
Jose_minglein2
 
Fecha de Ingreso: noviembre-2004
Mensajes: 2.344
Antigüedad: 19 años, 7 meses
Puntos: 8
En principio no tiene xq influir, ya que si devuelves un string devuelves un string. Donde haces el return???Te pongo un ejemplo que a mi me funciona sin problemas:

private void Page_Load(object sender, System.EventArgs e)
{
string asm = hola();

private string hola()
{
string a ="<?xml version='1.0'?>";
return a;
}
}