Click here to Skip to main content
12,761,098 members (30,247 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# SQL Server MVC3
I am new in mvc3 i want to display data in webgrid by using storedprocedure
CREATE Procedure Usp_Charity_Get_ByFedID  
  @FederationID  int  
 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  

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

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 16 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100