Solved

Gridview edit row & DropDownList

Posted on 2007-03-21
1
460 Views
Last Modified: 2013-11-07
Hi
I have a Gridview (ASP.NET 2.0 ) populated from a DataSet.  I do not have a SQLDataSource, the DataSet is populated manually from a datasource that can not be linked directly.
I have added an Edit column to it so that the user can edit a row in the GridView.
How do I add a DropDownList to the ItemTemplate and populate it ? I need to populate it manually row by row !

When the user has made a selection then I need the updated value so that I can update my datasource .

Peter
0
Comment
Question by:Contestoas
1 Comment
 
LVL 28

Accepted Solution

by:
mmarinov earned 500 total points
ID: 18764265
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question