dg.Items.Item[i].Cells[1].Text~~Bonnie
> Dim total as Double > For i = 0 To DataGrid1.Items.Count - 1 > total = total + Convert.ToDouble(DataGrid1.Items.Item(i).Cells(1).Text) > Next >>
> for(int i=0; i<dg.Items.Count -1; i++) > { > // Response.Write (dg.Items.Item(i).Cells(1).Text); > // the above code has an error... > } >>