Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 10th, 2007, 11:46 PM
Registered User
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Regarding Details View


        How to to bind DatailsView dynamically with sqlserver in asp.net.I have tried with OLEDBConnection as below:

         There is a DetailsView Control with ID=d1.I have use Executereader() method to execute my sql query which fetches data from my SQL Server d/b.Then I have used d1.Datamember="name"(where :"name" is a field of my table)and then bind it using d1.Databind().This runs successfully.But it displays only one record in detailsView.How Could I display all the records from d/b in detailsView?

        Reply me as soon as possible......
Thanks with Regards

Similar Threads
Thread Thread Starter Forum Replies Last Post
regarding the dropdownlist in the details view gopalawaghate ASP.NET 1.0 and 1.1 Professional 1 September 26th, 2008 02:23 AM
details view parameter inungh ASP.NET 2.0 Basics 0 July 5th, 2008 08:48 PM
view details radheshsharma1032 .NET Framework 2.0 0 January 12th, 2008 10:06 AM
populate details view or list view non empty rows iinfoque ASP.NET 2.0 Basics 0 March 11th, 2007 06:11 AM
Details View without Datasource harshaghanta ASP.NET 2.0 Professional 0 November 20th, 2006 09:07 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.