?
Solved

ASP.net C# SqlDataSource - stored procedure with parameters

Posted on 2012-03-24
3
Medium Priority
?
531 Views
Last Modified: 2012-06-22
Hi

In ASP.net I have a SqlDataSoure parameters for a GridView that uses a stored procedure with certain parameters. How do I call this with different parameters from C# code
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Assisted Solution

by:Ted Bouskill
Ted Bouskill earned 1000 total points
ID: 37762158
0
 
LVL 13

Accepted Solution

by:
Rahul Agarwal earned 1000 total points
ID: 37764399
For How the SQL DATASOURCE Works:

http://msdn.microsoft.com/en-us/library/z72eefad.aspx

GridView Examples for ASP.NET 2.0: Editing the Underlying Data in a GridView:

http://msdn.microsoft.com/en-us/library/ms972948.aspx

Dynamically Assign Parameter to SqlDataSource Parameter Collection:

http://geekswithblogs.net/AzamSharp/archive/2006/08/30/89789.aspx
0
 

Author Closing Comment

by:Murray Brown
ID: 37786443
Thanks very much
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question