none
Displaying with selected item in dropdownlist in gridview while editing RRS feed

  • Question

  •  

    <h1><strong>Respected sir,
    
    
    
    		I have created a gridview. if i click on edit button, it has to display drop down list under some fields. I executed till here. 
    
    Now i want to display already selected items in drop downlist, But Im getting all the items in the list in Alphabetical order
    
    
    
    for ex:   Apple
    
    		Boy
    
    		Cat
    
    		Elephant.. In this order.
    
    But if i click on edit button, It must display has :   Cat
    
    									Apple
    
    									Boy
    
    									Elephant   in Drop down list.
    
    Can U plz help me....</strong></h1><h1><strong>Here "Cat" which is already selected item.....
    
                           </strong></h1>
    

     

     

    • Moved by Jie Bao Sunday, August 28, 2011 4:55 PM (From:Visual C# General)
    Friday, August 19, 2011 12:58 PM

All replies