Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 July 18th, 2006, 10:46 PM
Registered User
Join Date: Sep 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datagrid binding two dropdown


Can someone tell me how I can populate a dropdown list based on the selection of another dropdown. Both my dropdowns are in a Datagrid and I need this to happen in the Edit Mode.

The details are like this....

I have a DataGrid with two cloumns, Country and Language. When the page first loads the first dropdown will have Country names and the second will have Languages for that country.

Now, I need to Edit this Grid. When I click on the Edit , and when i select a different country.....the corresponding lanaguages for that country has to be displayed in the second dropdownlist.

All the values in the dropdown are taken from a table.

Can someone tell me how to do it in c#.

Thank you

Rajesh Medackel

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Binding Using DataGrid hoailing22 ASP.NET 1.0 and 1.1 Basics 17 November 14th, 2006 02:17 AM
Binding a datagrid to a recordset roykennedy VB Databases Basics 4 October 28th, 2005 02:15 PM
Binding a datagrid on errors drono ASP.NET 1.0 and 1.1 Professional 3 June 9th, 2005 08:30 AM
DataGrid Binding GrindCrusher Classic ASP Databases 0 February 21st, 2004 05:52 PM
onbeforeprint and datagrid binding coryb ASP.NET 1.0 and 1.1 Basics 2 October 10th, 2003 01:56 PM

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