Solved

ASP.net C# SqlDataSource - stored procedure with parameters

Posted on 2012-03-24
3
529 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:murbro
[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 250 total points
ID: 37762158
0
 
LVL 13

Accepted Solution

by:
agarwalrahul earned 250 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:murbro
ID: 37786443
Thanks very much
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

726 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