C
Cyrus
I only want the datagrid show 4 and only 4 rows.
thz
thz
I only want the datagrid show 4 and only 4 rows.
David said:Set the DataSource of the grid to a DataView, and set the
AllowNew property of the DataView to false.
DataView vw = new DataView(SomeDataSet.SomeTable);
vw.AllowNew = false;
MyDataGrid.DataSource = vw;
How about if i use dataset?
David said:How about if i use dataset?
You could probably do the same thing with the DefaultView property of
the DataTable.