Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Manually binding data source to a formview

Posted on 2013-12-01
2
Medium Priority
?
306 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
[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
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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…
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 this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

670 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