Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Add new column to DataView

$
0
0

Hi, can I add a new column to a DataView and give it a value according to another column value?

Example:
I have a DataView where I create a new column called "Color". I have the column "Number" and if "Number" is greater than 0 I add "Green" to "Color", if "Number" is lower than 0 I add "Red" to the "Color".

Any help please? thanks


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>