How CAn I get the "sum" of a "Column" in a Data Grid?
I dont't use /connect database with my Data Grid!
How can I make this happen?
Thank you for any responses!

        Dim sum As Integer = 0
        For i = 0 To DataGrid.Rows.Count - 1
            sum = sum + DataGridView1.Rows(i).Cells(4).Value

as for the second question i didnt understand it, can you explain more?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.