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?


You can do this with LinQ function

Check below for your reference

Hope this will help you


i got this error @Srini84


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


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.