Solved

ASP.net C# SqlDataSource - stored procedure with parameters

Posted on 2012-03-24
3
525 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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

742 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