ADO.NETFor discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ADO.NET 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
in the datagrid_onitem changed event just write your code to display the values in the dropdownlist.
like if ur getting the dropdomlist values from database then u have to write the program(connection to db,retriveing data) in dropdownlist_onitemchanged event
You can do this as I described whether or not the DDLs are in a datagrid. The technique is the same. Where you put the code that loads the data depends on where your controls live.
i am sorry actually i thought to write dropdownlist insted of datagrid.here i am giving the modification.
in the dropdoenlist_onitem changed event just write your code to display the values in the dropdownlist.
like if ur getting the dropdomlist values from database then u have to write the program(connection to db,retriveing data) in dropdownlist_onitemchanged event