Solved

POWER ^ Exponential Function in a Computer DataColumn in a DataTable

Posted on 2011-09-19
2
1,236 Views
Last Modified: 2013-11-08
Does any one know how to use the exponential function in a computed column in a DataTable?

Thank you
0
Comment
Question by:vincentvanhst
2 Comments
 
LVL 8

Accepted Solution

by:
gena17 earned 500 total points
ID: 36560308
I think power is not directly supported in DataTables (see http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression(v=vs.71).aspx for the full list of supported functions).

Perhaps, you can define a trigger and recalculate the desired column manually.
0
 
LVL 41

Expert Comment

by:graye
ID: 37009311
gena17 has the correct answer (so no points for me!)

However, here is an article you might wanna look at:  http://www.emmet-gray.com/Articles/ADO_Expressions.htm
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel file not created as expected 7 46
ADO.NET ENTITY DATA MODEL 3 30
Class object 2 24
consuming an asmx web service in winforms application 3 24
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now