T
Tony
Hello!
Here I have two different ways to create an array of DataRowView. In this
example is it really any reason to use alternative 2 because the first is
much shorter ?
1. DataRowView[] rows = new DataRowView[dv.Count];
2. DataRowView[] rows = (DataRowView[])
Array.CreateInstance(typeof(DataRowView), dv.Count);
//Tony
Here I have two different ways to create an array of DataRowView. In this
example is it really any reason to use alternative 2 because the first is
much shorter ?
1. DataRowView[] rows = new DataRowView[dv.Count];
2. DataRowView[] rows = (DataRowView[])
Array.CreateInstance(typeof(DataRowView), dv.Count);
//Tony