G
Guest
Hello
Given an array of binary data stored in an ArrayList container, do you associate the container as a datasource in a Data Grid control
private ArrayList xList = new ArrayList()
// Arbitrarily add 64 integers into containe
for (int i = 0; i < 64; ++i
this.xList.Add(i)
// Assuming Data Grid was created via wizar
thisTheDataGrid.DataSource = this.xList
thisTheDataGrid.Refresh()
The example above compiles okay. However, nothing shows up in the data grid. All you would see is 64 empty rows and no columns
Do you need to set a specific property to show arbitrary data in the grid
Thanks
Kuphryn
Given an array of binary data stored in an ArrayList container, do you associate the container as a datasource in a Data Grid control
private ArrayList xList = new ArrayList()
// Arbitrarily add 64 integers into containe
for (int i = 0; i < 64; ++i
this.xList.Add(i)
// Assuming Data Grid was created via wizar
thisTheDataGrid.DataSource = this.xList
thisTheDataGrid.Refresh()
The example above compiles okay. However, nothing shows up in the data grid. All you would see is 64 empty rows and no columns
Do you need to set a specific property to show arbitrary data in the grid
Thanks
Kuphryn