Hi

I am trying to print the contents of a cell in a table. I am using ITestDataTable to get the contents of the cell. How to print the contents of the cell?

When I use Msgbox, I am getting an error :
I am using the below code for getting data from the html table:

Dim ordertable As Vp.ITestDataTable
ordertable = Table_HtmlTable_0.GetTestData("contents")
Dim i As Integer
Dim j As Integer
For i = 0 To ordertable.GetRowCount
    For j = 0 To ordertable.GetColumnCount
       Dim k As Vp.ITestDataText = ordertable.GetCell(i, j)
       Msgbox(k)
      j = j + 1
    Next  
    i = i + 1
Next

"System.Reflection.TargetInvocationException: Argument 'Prompt' cannot be converted to type 'String'...”

Please help me in printing the cell contents.