Solved

Gridview edit row & DropDownList

Posted on 2007-03-21
1
467 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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