Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
i need to get a dropdown list in a particular column
of gridview
. That column appears after binding a database.
Posted 30-Jan-13 23:06pm
sri67496
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use TemplateField in Gridview.In that TemplateField drag and drop a dropdownlist from Toolbar. Then in codebehind in RowDatabound FindControl DropdownList and bind it through database.
 
Please refer to the following link for more help
 
http://usingaspdotnet.blogspot.in/2011/03/dropdownlist-inside-gridview-in-aspnet.html[^]
 
Thanks
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

read this and use :
 
try This
[^]
 

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

Solution 3

  Permalink  
v3

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

  Print Answers RSS
0 OriginalGriff 435
1 Sergey Alexandrovich Kryukov 200
2 Yogesh Kumar Tyagi 180
3 Richard Deeming 180
4 RyanDev 115
0 Sergey Alexandrovich Kryukov 6,405
1 OriginalGriff 5,798
2 CPallini 2,473
3 Richard MacCutchan 1,647
4 Abhinav S 1,530


Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2014
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