I have a Dataset and an element in the table that I want to make into an array.
I created an Dataset called dsInventory, with a table called Inventory in the dataset designer in C#.
<xs:element name="PictureURL" type="xs:string" minOccurs="0" />
How do I make this an array? Setting maxOccurs to anything results in it not showing up and not being able to access it like this:
dsInventory.InventoryRow dr; (this is not really correct but just for illustration)
dr.PictureURL = "test";
What i'd like is to be able to do this:
dr.PictureURL = "test0";
dr.PictureURL = "test1";
dr.PictureURL = "test2";
dr.PictureURL = "test3";