Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI friends

I have a table
Product Type	Car                       Customer Name  Anil
Product Name	BMW                       Age            23
Address		aa                        Address        dd	
Country         India


Product Type is dropdown, while selecting car from dropdown a new colum shld appear on the top of customer NAme like model number and the rest of the columns shld move down

any idea how to do this
Posted
Updated 25-Sep-11 21:16pm
v2
Comments
raj ch 26-Sep-11 3:11am    
can u be more clear???

That depends on how you designed the table. Initially hide the row/cells you want to show on some event fired. Here On dropdownselectedIndexchanged event of product type show the hidden row.
 
Share this answer
 
hi madhu


what i want is while selecting a product type dropdown add a new column to the top of customer name
like this



Product Type Car Model BMW
Product Name BMW Customer Name Anil
Address aa Age 23
Country India Address dd
 
Share this answer
 
why dont you use Javascript to do it ?

Dynamically create a copy of the selected Dropdown over the CustomerName.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900