Right now I have a Remoting object that extracts data from a Mainframe and sends it to a web server but it comes back as a delimited string. I am parsing out the string and putting the values into an array, if I can put them directly into the Dataset that would be even better.<BR><BR>All of the examples I have found on the net and books only show how to fill a Dataset with either an XML file or SQL data source.
First you need to declare a dataRow and set it equal to a NEW myDataSet.Tables("myTable").dataRow (or something like that, their might even be a newRow member). Then you need to load the values you want to load into that row and I believe the member is called loadRow, which takes in an array. Then you can added your row to the dataTable within the dataSet with something like <BR>myDataSet.Tables("myTable").Rows.Add(myNewRo w) Sorry the syntax might not be exact you can dig around here to find the exact syntax: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdata.asp
Any class that implements ICollection can act as a DataSource to a DataGrid. You can either write your own class that implements ICollection, inherits from CollectionBase (for example), or use one of the DOZENS of built-in classes that already do. Among these are Array, ArrayList, and Hashtable.<BR><BR>You don't have to create a whole DataSet for this.<BR><BR>Mike