נו ברור ה-DataGrid מתעדכן רק אחרי שעשית DataBind נסה לעשות את הפעולות על ה-DataGrid, אחרי שביצעת את ה-DataBind: DataGrid1.DataSource = dt; DataGrid1.DataBind(); dr["PricePerUnit"] = DataGrid1.Columns.Count;