Click here to Skip to main content
12,358,863 members (59,318 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#3.0 C# ASP.NET
I have a dynamic gridview, and i want to bind dynamic dropdown in some columns like column3,column4 with data and when i click edit button it will converted lable to dropdown with data

how it is possible
Posted 7-Feb-13 3:41am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Please refer the link below.it will help you to solve your problem

http://chalaki.com/how-to-bind-a-dropdownlist-with-a-edititemtemplate-in-the-gridview/652/[^]

Thanks
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Your Answer is correct,but my problem is i am retrieving data from database and bind to dynamic gridview. In that gridview i am not using boundfields and itemtemplate,How can i do this.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 7 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100