How to set Data Table in c# with row value

Hi Guys,

i cannot set data table by add (row[“Name”].ToString()) to data table use VB code below?
May i know how it is work for c#??

image

Hi @balaraj.pubalan

Can you please share exactly what the error is?

Regards

Hi, here is the error:

Hi @balaraj.pubalan ,

Could you try with the below Expression :

dtNTU.Rows[intIndex][row["Name"].ToString()]
1 Like

Yes. it workds now. Thanks. :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.