Knowledge Share
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Knowledge Share

Knowledge is NOT Power IMPLEMENTATION of knowledge is Power!!!
HomePortalGalleryRegisterLog in


 Writing Data in HTML

Go down 

Posts : 142
Points : 46895720
Reputation : 0
Join date : 2007-12-29
Location : Chennai

Writing Data in HTML Empty
PostSubject: Writing Data in HTML   Writing Data in HTML Icon_minitimeTue Oct 28, 2014 4:57 pm

' Extract the data from the worksheet to newly created DataTable starting at
' first row and first column for 10 rows or until the first empty row appears.
Dim dataTable = worksheet.CreateDataTable(New CreateDataTableOptions() With
        .StartRow = 0,
        .StartColumn = 0,
        .NumberOfRows = 10,
        .ExtractDataOptions = ExtractDataOptions.StopAtFirstEmptyRow
' Change the value of the first cell in the DataTable.
dataTable.Rows(0)(0) = "Hello world!"
' Insert the data from DataTable to the worksheet starting at cell "A1".
    New InsertDataTableOptions("A1") With {.ColumnHeaders = True})
Back to top Go down
Writing Data in HTML
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Knowledge Share :: Testing :: Automation :: VSTS :: CODED UI-
Jump to: