From: mavrick_101 on 9 Jun 2010 10:34 Hi, Sorry for this stupid question. I'm trying to set up number of columns based on the values in a string array. for example I have this array: string[] tmpArray = commaSeperatedStringValues.split(','); DataGrid.DataSource=tmpArray; DataGrid.Bound(); When I do this, all the elements in the array are shown as rows in a signle column... Pls help.
From: Rajeev Gopal on 10 Jun 2010 08:56 On Jun 9, 10:34 am, mavrick_101 <mavrick...(a)discussions.microsoft.com> wrote: > Hi, > > Sorry for this stupid question. I'm trying to set up number of columns based > on the values in a string array. > > for example I have this array: > string[] tmpArray = commaSeperatedStringValues.split(','); > > DataGrid.DataSource=tmpArray; > DataGrid.Bound(); > > When I do this, all the elements in the array are shown as rows in a signle > column... > > Pls help. Hi Mavrick, You may want to try with Multi-dimensional arrays instead. Thanks, Rajeev
|
Pages: 1 Prev: Same CR report with different databasename Next: Unable to generate a temporary class |