Solved

Manually binding data source to a formview

Posted on 2013-12-01
2
284 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 500 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

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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.…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

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