Add items to a datagrid

Cassio

Junior Contributor
Joined
Nov 30, 2002
Messages
276
Location
Rio de Janeiro
Hi! Is there a way of adding empty items to a datagrid after the databind? I need the datagrid to have ALWAYS 10 items, but the databinding will fill only some of them. The rest will be empty.
I didnt find something like Datagrid1.Item.Add(New DataGridItem...)

I guess I could use a dataset and add empty rows to it, but the other way would be easier, since im using datareader.

Thanks!
 
Back
Top