How can add the Data Scraping Rows Value

Hi All,
I want to add the all rows value. So I Scrape the Data and Stored in ExpectDataTable variable [Varivable type as >> DataTable] How can add the integer rows value?

@Rajiduraikannu_Santhosh_G

You can do this with LinQ function

Check below for your reference

Hope this will help you

Thanks


i got this error @Srini84

@Rajiduraikannu_Santhosh_G

Okay, write as below

dt.AsEnumerable.Sum(Function(x) Convert.ToInt32(x(“Column1”).ToString).ToString

If this also not works then you can try on second post function

Hope this help you

Thanks

Hi @Srini84 ,
Its working Thnks for ur quick response

1 Like

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