Skip to content

Instantly share code, notes, and snippets.

@YhorbyMatias
Created March 17, 2015 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YhorbyMatias/0f97318ad3cb57de0d2e to your computer and use it in GitHub Desktop.
Save YhorbyMatias/0f97318ad3cb57de0d2e to your computer and use it in GitHub Desktop.
Conexion C#
public class Servidor
{
private SqlConnection myConnection;
string cadenaConexion;
public void Conectar
{
cadenaConexion = "cadena conexion"
myConnection = new SqlConnection(cadenaConexion)
myConnection.Open()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment