dropdownlist problem

  • Thread starter Thread starter mnnappaji
  • Start date Start date
M

mnnappaji

I have taken table i.e., ITEM MASTER (ItemID, ItemName, Price)

in the asp.net in dropdown list box when i select Itemname price
should be printed in the text box of price.

view of design

ItemName Dropdownlistbox

Price Textbox
 
* (e-mail address removed) wrote, On 30-7-2007 8:57:
I have taken table i.e., ITEM MASTER (ItemID, ItemName, Price)

in the asp.net in dropdown list box when i select Itemname price
should be printed in the text box of price.

view of design

ItemName Dropdownlistbox

Price Textbox

You could set AutoPostback to true on the dropdown, then use the
SelectedIndexChanged event of the dropdown to change the contents of the
textbox. Combine this with AJAX if you want a smoother experience.

Jesse
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top