Create a table with no title/header rows??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to create a simple table with no title or header rows, only data rows.
First i tried IsTitleSuppressed & IsHeaderSuppressed, but those give me a warning message saying they "are obsolete, use Cell Functionality instead"
Ok, not entirely sure what they mean by "cell functionality" so i tried the method listed here - http://through-the-interface.typepad.com/through_the_interface/2011/11/handling-protocol-changes-to-...
"Next we have the third set of warnings, which relate to suppression of the title and header rows. These are also at the Cell level, but are also a bit tricky to get access to. You need to get the Cells for the row (passing in the row number and -1, for the column) and get/set the Style property. This string property should contain “Title” for title rows and “Header” for header rows. If you want to suppress the title – the equivalent of Table.IsTitleSuppressed = true), you can search through for the row containing “Title” in its Style property, and set it to the empty string (“”). And the equivalent operation for the header row."
That doesn't work either. If i set it to an empty string nothing changes and if i set the string to "Data" I get an error saying "eNotApplicable". I also tried setting myTable.Rows[1].Style, that didn't work either. Can i get some help here please? I've spent hours on this already and I still haven't been able to get it to work. Thank you.