what does currentrow in item means? also why does it use currentrow(“key”).tostring what does this means?
CurrentRow
means it takes the value from each row which is in datatable.
CurrentRow"key").ToString
key is the column name present in the data table and that syntax iterates through each row in the key column.
Hope you understand!!
Regards
If you seethe forloop above…currentrow is a variable assigned to each row for eqch iteration…
So basically it is one single row from your table…row in row to access a column we use column name or number currentrow("Columnname")
or currentrow(coulumnnumber)
And .ToString is to convert the value to string …basically you might have a number column ,or date or string to get it and save into ine aingle variable of type string we use .ToString
Hope this helps
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.