logo       

Re: Error: No overload for method 'Compute' takes '1' arguments: msg#00001

Subject: Re: Error: No overload for method 'Compute' takes '1' arguments
According to the documentation, the DataTable.Compute method takes two 
parameters, expression and filter.  filter is used to limit the rows 
used in the aggregate.  If you want all rows, my guess is null or 
string.Empty would work just fine...


>                   TotalHowManyMedia =
> myTable.Compute("Sum(Convert.ToInt32('How_Many_Media'))").ToString();
>  
> Get this error on this line: Error: No overload for method 'Compute'
> takes '1' arguments





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hsfnfud/M=362131.6882499.7825260.1510227/D=groups/S=1705007709:TM/Y=YAHOO/EXP=1122874065/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>