Solved

Manually binding data source to a formview

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 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