have a datgrid control that has 3 columns defined at design time.
Remaining columns are coming from a query and not known until runtime. I
have dynamically added the columns in datagrid and constructed an array
that holds results to be displayed in the corresponding cells of newly
added columns. I don't know how to assign these array members to
corresponding cells of these columns.
I am using datarow's itemarray property to assign the array members to
each corresponding cell. but getting an error stating "Input array is
longer than the number of columns in this table". Please tell me the
exact way of doing my task. Any help please???

*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!