Пример #1
0
        public void actualizar()
        {
            conn = Globals.connector;
            aux  = new MySqlDataAdapter("select tarifa.id,tarifa.convenio_id,convenio.nombre,tarifa.descripcion,tarifa.monto from boletera.convenio join boletera.tarifa where convenio.id = tarifa.convenio_id", conn.Conn);
            DataSet DS = new DataSet();

            aux.Fill(DS);
            tabla_tar.DataSource = DS.Tables[0];
        }
Пример #2
0
        admin_tarifas(string cu, MySQLConnector con)
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            currentUser = cu;
            conn        = con;
            InitializeComponent();
            actualizar();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
        }