Wrox Programmer Forums
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 September 29th, 2009, 08:55 AM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Databinding

Code:
Hi everyone,

 I have three dropdownlists and  one datagrid
My problem is-when i select values from 3 ddls and click on search button it doesnt display related records.it just shows all records.

what i need is-
I want to display matching records ( match keywords) in datagridview selected from all dropdownlists.

tHANKS

Last edited by Pinkrose; September 29th, 2009 at 09:41 AM..
 
Old October 6th, 2009, 02:57 AM
Registered User
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

data binding refers to the process of representing the information in an XML document as an object in computer memory. This allows applications to access the data in the XML from the object rather than using the DOM or SAX to retrieve the data from a direct representation of the XML itself.

An XML data binder accomplishes this by automatically creating a mapping between elements of the XML schema of the document we wish to bind and members of a class to be represented in memory.
The Following User Says Thank You to rosetaylor01 For This Useful Post:
Pinkrose (October 16th, 2009)
 
Old October 12th, 2009, 07:41 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 107
Thanks: 1
Thanked 8 Times in 7 Posts
Default

Im assuming that the datagrid is a gridview and bound to a SQL datasource.

If the ddl's have valid selected values you need to check that the button uses these values to postback to the page, which will then allow the gridview to bind the the data selected.
Dont forget to set the selected values of the ddl's on postback. It helps the user.

If you could show us the code it always helps.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help With Better Databinding AgentSmith ASP.NET 3.5 Professionals 1 March 8th, 2009 04:05 PM
Databinding with an inner join Louisa VB.NET 2002/2003 Basics 2 December 12th, 2003 04:57 AM





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