Hai ,

Im working with Asp.Net2003...I have fetched the data's in a onedatatable and assigned it to a dropdownlist....but if i select an item in the dropdownlist and give a button click it always inserts only the first data in the dropdown to another datatable.I need the selected value to be stored in the second datatable.

this is a very popular problem, the solution is to populate the dropdown list between the if(!IsPostback) statement.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.