On Fri, Apr 15, 2011 at 7:52 AM, shree <[email protected]> wrote: > Hi folks, > > I have have 2 DropDownList controls with CascadingDropDown as state, > city respectively > and one textbox control as zip code. > > when I change state value I get city value in other dropdown contol an > when I select City > I get the zip code in textbox. > > so now when I first write zip code in text box I want to change the > values of dropdown > but I can't do so. --------------------------------
tbZip.Text holds the value you want the dropdowns to present? Can you query your db for those values? If so make either the one or two calls to get the data. cbState.SelectedValue = myDBReturn(s).StateID I have no idea if you get a table, an int or an array that you generate on your own. -- Stephen Russell Unified Health Services 60 Germantown Court Suite 220 Cordova, TN 38018 Telephone: 888.510.2667 901.246-0159 cell -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
