//CONEXION AL SQL DE PALCOMSYNC 10.0.0.86 public string PAMLCONECTIONS() { string StringDeConexionPAML = ""; try { StringDeConexionPAML = ConfigurationManager.ConnectionStrings["PALMCONECT"].ConnectionString; } catch (ConfigurationException ConfigurationexPaml) { Console.Write("Error con el String de conexion: " + ConfigurationexPaml.ToString()); } StringDeConexionPAML = "Data Source=GEA-SRVDATA\\SQLSERVER2008;Initial Catalog=PalmComSync;User ID=sa;Password=taramaca01$"; return(StringDeConexionPAML); }
public string DYNAMICDB() { string StringDeConexionSITINTEGRATION = ""; try { StringDeConexionSITINTEGRATION = ConfigurationManager.ConnectionStrings["SITDB"].ConnectionString; } catch (ConfigurationException ConfigurationexPaml) { Console.Write("Error con el String de conexion: " + ConfigurationexPaml.ToString()); } StringDeConexionSITINTEGRATION = " Data Source=GEA-SRVDATA\\SQLSERVER2008;Initial Catalog=DYNAMICS;Persist Security Info=True;User ID=sa;Password=taramaca01$"; return(StringDeConexionSITINTEGRATION); }