Solved

ASP.net C# SqlDataSource - stored procedure with parameters

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now