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

Technique to map field and status

$
0
0

Hi

I wonder if someone could help me in finding a technique to map something quickly. As an example below I have 5 approvers and status.

If status is at Approvedby-HRM, I want the cell under "aaa" marked as yes

if status is Approvedby-ER, I want the cell under both "aaa" and "bbb" marked as yes.

...

If the status is Approvedby-President, all the cells under each approver will be marked as yes.

How can this be done quickly in C#,  I have a total of 13 approvers? If I have to use if statement, there will be lots of conditions and variables assignments. Thanks in advance.



Viewing all articles
Browse latest Browse all 11571

Trending Articles



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