Hello I'm having trouble creating a query from a gridview I used entity framework Well, I have a gridView it loads the Data normally
In the TextBox below I want to get the name of the person that is selected put in the field and in the grid where the number of pages I want to add the total and put in the textBox Total impression / month referring to the name selected in the field This is the code that loads GridView:
private void ler_Impressora()
{
ImpressoraEntities context = new ImpressoraEntities();
IEnumerable<Tmp_Printlog> lista = from p in context.Tmp_Printlog select p;
dgvLista.DataSource = lista.ToList();
}