예제 #1
0
        public DataTable ListarResponsable(string CadenaConexion, EntidadProyMDIBFGestionTasasDP.responsable Entidad)
        {
            SqlConnection cnn = new SqlConnection();

            cnn.ConnectionString = CadenaConexion;
            SqlCommand cmd = new SqlCommand();

            cmd.Connection  = cnn;
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "MDIBF_Responsable_Listar";

            SqlDataAdapter da = new SqlDataAdapter(cmd);
            DataSet        ds = new DataSet();

            cnn.Open();
            da.Fill(ds, "RESPONSABLE");
            cnn.Close();

            return(ds.Tables["RESPONSABLE"]);
        }
예제 #2
0
 public DataTable ListarResponsable(string CadenaConexion, EntidadProyMDIBFGestionTasasDP.responsable Entidad)
 {
     return(mResponsable.ListarResponsable(CadenaConexion, Entidad));
 }