ILIST<> WEB FORM
05/04/2016
0
ola,
preciso criacar um ILIST<> com paramentro de entrada no windows form
tentei assim mas dá erro.
Inconsistent accessibility: parameter type 'System.Collections.Generic.IList<print.Cabecalho>' is less accessible than method '
so um techo do codigo. sempre acusa erro logon no inicio
Tentei desta forma tambem dá erro
preciso criacar um ILIST<> com paramentro de entrada no windows form
public IList<Cabecalho>ListaCabecalho(IList<Cabecalho> pallet) { IList<Cabecalho> cb = new List<Cabecalho>(); return cb; }
tentei assim mas dá erro.
Inconsistent accessibility: parameter type 'System.Collections.Generic.IList<print.Cabecalho>' is less accessible than method '
so um techo do codigo. sempre acusa erro logon no inicio
public IList<Cabecalho>ListaCabecalho(string pallet) { List<Cabecalho> Lista = new List<Cabecalho>(); return Lista; }
Tentei desta forma tambem dá erro
Jefferson
Curtir tópico
+ 0
Responder
Posts
05/04/2016
Jefferson
A classe Cabecalho existe
class Cabecalho { public string modelo { get; set; } public string quantidade { get; set; } public string pallet { get; set; } public string QtdAmostra { get; set; } public string dataEnvio { get; set; } }
Responder
Clique aqui para fazer login e interagir na Comunidade :)