c# - Compute method of Datatable not working -


Hello, I want to get the amount of the DataTable column I

This is my expression. .

But it throws the following exceptions. [System.Data.SyntaxErrorException] = {"Syntax error in the total argument: Expect a column argument with potential 'hair' qualifier."}

If your column name contains spaces, include all column names in it square brackets

  object by object = tbl_reses.compute ("yoga ([service tax])", "");     

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -