Solved

POWER ^ Exponential Function in a Computer DataColumn in a DataTable

Posted on 2011-09-19
2
1,340 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 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