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

Languages Supported by .NET Framework

Languages from Microsoft : Visual C#.NET,Visual Basic.NET,Visual C++.NET
Languages from other vendors:
VJ#.NET,Python.NET,IronPython.NET,APL.NET,Cobol.NET,Perl.NET,Pascal.NET,Component Pascal.NET,Curriculum.NET,Eiffel.NET,Forth.NET,Fortran.NET,Haskell.NET,Mercury.NET,Mondrian.NET,Oberon.NET,RPG.NET,Scheme.NET,Small Talk.NET,Standard ML.NET

Get Total Quantity from Datagridview in C#.NET

Today , we will see "Get Total from Quantity Column in DataGridView in C#.Net"

Code
private double ADDCoulmnValue(int ColIdx, DataGridView dgv) { for (int idx = 0;idx <dgv.Rows.Count;idx++)
{ tot += Convert.ToDouble(dgv.Rows[idx].Cells[ColIdx].Value);
} }