Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

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.


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

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)
  #3 (permalink)  
Old October 12th, 2009, 07:41 AM
Friend of Wrox
Join Date: May 2006
Location: Northampton, United Kingdom.
Posts: 107
Thanks: 1
Thanked 8 Times in 7 Posts

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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 07:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.