예제 #1
0
        public static string Eliminar(int idtransportista)
        {
            DTransportista Obj = new DTransportista();

            Obj.Idtransportista = idtransportista;
            return(Obj.Eliminar(Obj));
        }
예제 #2
0
        public static DataTable BuscarApellidos(string textobuscar)
        {
            DTransportista Obj = new DTransportista();

            Obj.TextoBuscar = textobuscar;
            return(Obj.BuscarApellidos(Obj));
        }
예제 #3
0
        public static string Insertar(string razonsocial, string chofer, int ruc,
                                      string placa, string marcavehiculo, string confvehicular, string inscripcion, string numlicencia)
        {
            DTransportista Obj = new DTransportista();

            Obj.Razonsocial   = razonsocial;
            Obj.Chofer        = chofer;
            Obj.Ruc           = ruc;
            Obj.Placa         = placa;
            Obj.MarcaVehiculo = marcavehiculo;
            Obj.ConfVehicular = confvehicular;
            Obj.Inscripcion   = inscripcion;
            Obj.NumLicencia   = numlicencia;

            return(Obj.Insertar(Obj));
        }