>>>Hi everybody,
>>>
>>>In the main method I declared dtReturn this way
>>>
>>>
>>> DataTable dtReturn = new DataTable();
>>>
>>> AssembleTableForReturn(dtReturn);
>>>
>>>
>>>In that Assemble method I add columns to the table.
>>>
>>>Then in that same main method I have
>>>
>>>if (database.ExecuteSqlCommand(sqlCommand, out ds, ref messageText, ref statusCode))
>>> {
>>> AddInformationToResult(ds, dtReturn, pod);
>>> }
>>>
>>>
>>>where this method is supposed to add a row to that table this way:
>>>
>>>newRow = dtReturn.NewRow();
>>>
>>> newRow["resource1"] = pod;
>>>
>>> newRow["lname"] = podDescription;
>>>
>>>However, in datatable visualizer I see that table still empty (no rows added).
>>>
>>>Do you see what I may be missing here?
>>>
>>>Thanks in advance.
>>Are you visualizing newRow or dtReturn?
>
>Ok, I re-read documentation and I figured out what I was missing. I was missing Add method to add that row to the datatable
>
>
http://msdn.microsoft.com/en-us/library/5ycd1034(v=vs.80).aspxRight.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.