Click here to Skip to main content
12,943,904 members (55,182 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
I am new in mvc3 i want to display data in webgrid by using storedprocedure
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 16-Feb-13 1:55am
DGKumar1.1K
Updated 16-Feb-13 2:30am
v2

1 solution

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

Solution 1

  Permalink  
v2

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
OriginalGriff 4,643
CHill60 2,970
Maciej Los 2,348
Jochen Arndt 1,900
ppolymorphe 1,765


Advertise | Privacy | Mobile
Web02 | 2.8.170518.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