I want to programmatically add a row to the top in a DataGrid control. Any ideas?
+4
A:
Insert the new row at the start of the list (that means the list that the grid is binding to.), i.e myList.Insert(0, myobject); If that doesn't work then you have binding issues, which should be a new question.
slugster
2009-11-16 08:29:04
And this was voted down because?......
slugster
2009-11-16 12:23:32
don't know, this would be my advice, so you get a +1 from me
Kip
2009-11-16 16:27:46