I am trying to summerize a column in my datagrid on my webform and I keep getting the message:"Type &#039;DataGridItemEventArgs&#039; is not defined." when I copy the code to my server... I am a new vb.net developer, can someone please help?<BR><BR>Public Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As DataGridItemEventArgs)<BR> If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then<BR> CalcTotal(e.Item.Cells(11).Text)<BR> e.Item.Cells(11).Text = String.Format("{0:n0}", Convert.ToDouble(e.Item.Cells(11).Text))<BR> ElseIf (e.Item.ItemType = ListItemType.Footer) Then<BR> e.Item.Cells(10).Text = "Total"<BR> e.Item.Cells(11).Text = String.Format("{0:n0}", runningTotal)<BR> End If<BR> End Sub