h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Add DataGridView Column Value in VB.Net

Today,We will see "How to Add DataGridView Column Value in VB.NET?"
Private Function ADDCoulmnValue(ColIdx As Integer, dgv As DataGridView) As Double Dim d As Double = 0 For idx As Integer = 0 To dgv.Rows.Count - 1 tot += Convert.ToDouble(dgv.Rows(idx).Cells(ColIdx).Value) Next Return tot End Function