Sep 15, 2008 #1 S sanjana New member Joined Sep 12, 2008 Messages 1 i need to calculate the sum value in the datalist .any body tell me the code in C#
Sep 15, 2008 #2 N Nate Bross Well-known member Joined Apr 6, 2005 Messages 601 Location Chicago, IL What sum are you trying to calculate? Code: int i1 = 2; int i2 = 5; int sum = i1+ i2; // not sure on the syntax for dataList // maybe rows[index][columnIndex] dataList.Columns[index] = sum;
What sum are you trying to calculate? Code: int i1 = 2; int i2 = 5; int sum = i1+ i2; // not sure on the syntax for dataList // maybe rows[index][columnIndex] dataList.Columns[index] = sum;