FormView data population

Posted on 2011-10-31
Last Modified: 2012-05-12
I have a formview ( ASP .net  ,C#)where I would like to display the data from sql server 2008.Can you please give me some urls/ code .
Thanking you,
anindya chatterjee
Question by:AnindyaChatterjee
    LVL 28

    Accepted Solution

    LVL 7

    Expert Comment

    it really depends on the data you're displaying and if you're adding anything; you could just drag a sql datasource control onto your page, with the query you're running, then use it as the formview's datasource - that should do most of the work for you, without any coding.
    It's only when you start doing things like formatting based on data values that you start to need code behind.

    Author Closing Comment

    Thanks a lot for those urls .All those urls are useful.
    Hope to get your help in future too.
    Anindya Chatterjee

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 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

    12 Experts available now in Live!

    Get 1:1 Help Now