Quantcast
Browsing latest articles
Browse All 6 View Live

Re: Preparing data from Stored Procedure for display in a WebGrid (in...

the Linq .Where() method should help in culling out subsets.However, that should not be used as a substitute for appropriate parameters in the stored procedure.Think of the parameters in the stored...

View Article


Re: Preparing data from Stored Procedure for display in a WebGrid (in...

Thanks all for your input.I had previously adding the sorting to the SP, but that doesn't allow me any flexibility, so I will implement the suggestion of rrrsr7205.That was my first step, but how about...

View Article


Re: Preparing data from Stored Procedure for display in a WebGrid (in...

Hello wavemaster,wavemaster var sqlSelect = @" SELECT * FROM ( EXEC [dbo].[sp_PivotMWR] @0, @1 ) ORDER BY AMSTxnId DESC ";This is really not the proper way. If you want to sort the data then as...

View Article

Re: Preparing data from Stored Procedure for display in a WebGrid (in...

Your order by must either be inside the stored procedure or you use linq on the returned resultExample of Linq is: var selSelect="EXEC [dbo].[sp_PivotMWR] @0, @1"; var results=db.Query(sqlSelect,...

View Article

Re: Preparing data from Stored Procedure for display in a WebGrid (in...

you can return values back to your application from a SP using either OUT parameters or a SELECT within the SP.The OUT parameters are generally used for single values. The SELECT can be used for...

View Article


Preparing data from Stored Procedure for display in a WebGrid (in webPages 3.0)

I have a stored procedure called sp_PivotMWR.  It has much more data than I need for display purposes right now.As a first step I wanted to sort the data.Compiler complains about Incorrect syntax near...

View Article
Browsing latest articles
Browse All 6 View Live


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