Click here to Skip to main content
15,312,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new in mvc3 i want to display data in webgrid by using storedprocedure
SQL
CREATE Procedure Usp_Charity_Get_ByFedID  
(  
  @FederationID  int  
)  
As  
Begin  
 SELECT C.CharityNumber, ISNULL(C.OldCharityNumber,0), S.[State], C.Name, dbo.Fun_Charity_Activity(CF.CharityID)  
 FROM   PledgeNet.Charity AS C INNER JOIN  
     PledgeNet.[State] AS S ON C.StateID = S.StateID INNER JOIN  
     PledgeNet.CharityFederation AS CF ON C.CharityID = CF.CharityID                        
 Where CF.FederationID=@FederationID  
  
END

how to use this in mvc3 for bind data to webgrid
Posted
Updated 16-Feb-13 2:30am
v2

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900