Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Manually binding data source to a formview

Posted on 2013-12-01
2
Medium Priority
?
307 Views
Last Modified: 2013-12-11
Can you refer me to an example on how I manually bind a stored procedure data source to a formview.   I have to do the following:

The stored procedure requires a Parameter which is the ID selected on a datagrid.

I would like to pass the parameter from the datagrid to the stored procedure
and then Execute the procedure which will populate the formview.


I am using Visual Studio 2005, MS Sql Server 2005
0
Comment
Question by:cookiejar
2 Comments
 

Author Comment

by:cookiejar
ID: 39693767
My requirement is to manually bind the data to formview.  Do you know where there are any examples?
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 2000 total points
ID: 39694602
Alright. Tell me when you mention manual binding, you mean to say you will populate FormView using what?

Another link that details things out is here:

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

Basically your FormView requires an ItemTemplate using which we will show data in a specific format and a DataSource from which we will fetch data.

Regards,
Chinmay.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

971 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