3
I have a search in lambda, in which refers information of a grid, but at each different query it changes the information of place:
Indicadores = (Pegatodos().Where(f => f.STATUS == "A")
.Select(x => new
{ SEQINDICFINANC = x.SEQ, DESCRICAO = x.DESCRICAO, SIGLA = x.SIGLA })
.OrderBy( x => x.SEQ)
.ToList())
it returns the main information of my grid:
NOME datas | datas | datas
seq 0 0 0
seq 0 0 0
seq 0 0 0
seq 0 0 0
but for each consultation of different date periods the position of the seq
keeps changing, and I need you to stay in the same position.
Check the type of your SEQ attribute.
– Tainha
virtual type long in C# and number in BD
– Cronorp
Can you please put in your question the code of
Pegatodos()
?– Leonel Sanches da Silva
I am using the Entity framework, in which case the default Return Return enditades does not know exactly the code
– Cronorp