elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Únete al Grupo Steam elhacker.NET


  Mostrar Temas
Páginas: [1]
1  Programación / .NET (C#, VB.NET, ASP) / necesito agregar la suma total de todos los elemtentos de una matriz pero no me deja usar row.cells. adjunto codigo abaj en: 19 Noviembre 2022, 23:55 pm
double total = 0;

            foreach (DataGridView row in dgvImportes.Rows)
            {
                total += Convert.ToDouble(row.Cells[]);           
            }





el error es:
Compiler Error CS1061
Article
10/27/2021
2 minutes to read
12 contributors
'type' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'type' could be found (are you missing a using directive or an assembly reference?).

This error occurs when you try to call a method or access a class member that does not exist.

espero su respuesta y muchas gracias!!!
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines