Message 1 of 2
Setting Table columns and rows with VB.NET
Not applicable
10-29-2011
05:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I've used the attached code to set the number of colu9mns and rows in a table adn it works with all my tests.
However I also receive the warnings:
"Public overridable property NumRows() As Integer is obsolete. Use 'Table.Rows.Count' instead"
and
"Public overridable property NumColumns() As Integer is obsolete. Use 'Table.Columns.Count' instead"
Dim tb As New Table()
tb.NumRows = 6
tb.NumColumns = 3Both the Rows and Column Count property are Read only.
What is going on here?