troubleshooting Question

Bind resultset f/SP gridview

Avatar of rowek
rowek asked on
Visual Basic.NETASP.NETMicrosoft Development
3 Comments1 Solution371 ViewsLast Modified:
I am attempting to bind the resultset of a stored procedure to a GridView in ASP.NET. However, the resultset does not appear to be binding. I've stepped through my code and everything looks to be working just fine: my connection isn't getting lost and my parameters are passing through fine. I'm not even getting an error message! I'm just not getting a result set returned.  When I add a breakpoint and inspect the dataset object in the debugger, it is empty.

I have run the stored procedure in SSMS and have verified that I SHOULD be getting a result set returned. Below are my stored procedure and some of the code from my app.

Please tell me what I am doing wrong. Thanks.
HelpWithSPandGridView-ASP.txt
HelpWithSPandGridView-SP.txt
HelpWithSPandGridView-VB.txt
ASKER CERTIFIED SOLUTION
rowek

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros