Get Item from List Dynamically

Hello Guys,

May I know if we can get the value of a certain item on the list dynamically.

Something like this, List1.GetItem(Rownumber, ColumnName).

I know we can get the value by row like list[1].EntityName.ColumnName but I also want the columname to be access dynamically.

Can this be done?

Koushik Prathi wrote:

Just go through this discussion .Hope this will help you

Hello Koushik,

Thank you for the suggestion, but this article is only pointing to a specific column.


I want the call to the [Question] be dynamic as well.



This is not possible to do it the way you are asking. 

It can be done using Switch to determine the column of interest. 

Hope it helps.