Groups | Blog | Home
all groups > vb.net data > september 2005 >

vb.net data : Tablestyles on datagrid with an array as a datasource


mykyp NO[at]SPAM pearcey2001.freeserve.co.uk
9/1/2005 1:30:32 PM
Hi,

I am trying to change column orders on a datagrid where I have used an
array as the datasource for the datagrid (added programatically)

Please could you let me know if applying the mapping for the tablestyle
is any different when using an array than it would be for a normal
table.

e.g. usually mapping is similar to:

tableStyle.MappingName = "Themappingname"

Thanks v much.

Mike
Ken Tucker [MVP]
9/1/2005 6:32:53 PM
Hi,

I know you use ArrayList for the mapping name if you bind to an
arraylist. The mapping name is Collection for an collection. Why dont you
try Array.

Ken
------------------------
[quoted text, click to view]

mykyp NO[at]SPAM pearcey2001.freeserve.co.uk
9/1/2005 10:12:14 PM
Thank you
AddThis Social Bookmark Button