Create DTO Class:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ROI.DTO
{
public class IRRDTO
{
public double IRRValue { get; set; }
public IRRDTO()
{ }
public IRRDTO(double irrvalue)
{
IRRValue = irrvalue;
}
}
public List<IRRDTO> GetIRR(long id)
{
List<IRRDTO> IRRlilst = new List<IRRDTO>();
List<double> items = new List<double>();
items.Add(-10000);
items.Add(4000);
items.Add(8000);
items.Add(9000);
double[] itemsArray = items.ToArray();
double Guess = 0.5;
double IRRValue = Microsoft.VisualBasic.Financial.IRR(ref itemsArray, Guess);
IRRlilst.Add(new IRRDTO(IRRValue));
return IRRlilst;
}
Enj ..Hope it will help all fincial developers.. ..all the best
.NET,MVC,MVC API,jQuery,SQL Server, Sql Business Intelligence,QlickView,Sharepoint,Sharepoint Performancepoint
Wednesday, August 13, 2014
Thursday, June 19, 2014
Transaction log backup job issue:
Currently the Transaction log backup job is stopped, because its giving performance issue. How i need to fix it..Let know any know this issue and How Fix it....
Tuesday, March 4, 2014
Deploy wsp through powershell
Deploy wsp through powershell
PS C:\Users\vijendar> Update-SPSolution -Identity WebParts.wsp -LiteralPath E:\Webparts\WebParts.wsp -GACDeployment
PS C:\Users\vijendar> Install-SPSolution -Identity EHSWebparts.wsp -WebA
pplication http://trkgruspdb01:36128/ -GACDeployment -force
Hope It will help you...enj
invalid credentials. please contact your system administrator. sharepoint 2010
Hi Friends,
Thsi type of issues we are face in real time.Like we have requirement Direct Connectivity to Database which is not in our control(We dt have permisssions).But that filer data will comeing form another database with is our control(we have all permisssion). That time will face this kind of issues like invalid credentials. please contact your system administrator. Just follow below steps.
1.Go To Sharepoint administration and check primary Admin name.
2.Add user in ur database and give the Access permissions db_owner .
That it...Hope it will help you..enj
Set Incremental Number in sql
Set Incremental Number:
DBCC CHECKIDENT('E.dbo.SubCategory', RESEED, 451)
DBCC CHECKIDENT('E.dbo.Category', RESEED, 134)
DBCC CHECKIDENT('E.dbo.SubCatDeptLink', RESEED, 480)
Dashboard Error :The list no longer exists or you do not have permissions to view it.
Can you please verify the following see it helps?
1. Check Secure Store Application and Generate New Key
2. PerformancePoint Service Application -- Manage -- Update the PerformancePoint Unattended Service Account else recreate PerformancePoint Service Application
3. PerformancePoint Service Application -- Permissions Mark Full Control.
Subscribe to:
Posts (Atom)