Solved

POWER ^ Exponential Function in a Computer DataColumn in a DataTable

Posted on 2011-09-19
2
1,221 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

17 Experts available now in Live!

Get 1:1 Help Now