By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,836 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,836 IT Pros & Developers. It's quick & easy.

c# - Datagrid and drop down lists

P: n/a
I've got a datagrid with 5 bound columns in it as well as
an edit/update/cancel column. I'm binding this to a
dataset. One of the fields is always going to be one of
three values.
I want the user to be able to hit the edit button and have
this particular column become a drop down list where the
true value is selected, but they can choose one of the
other two values. I've been able to add a dropdownlist
column as a template column, but it is an editable
dropdownlist all of the time- I don't want that. I only
want it to be a drop down list when the person
chooses "edit".

Can anyone *please* help me out?
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Marlene,

I have replied you in another same issue you post:
http://groups.google.com/groups?q=C%...downlists%3F+v
-lwang&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=HznC7gwWDHA.2164%40cpmsftngxa06.phx.
gbl&rnum=1

Please let us know if the information helps you resolve the problem. Thanks.

Best Regards,
Lewis

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Marlene harkcom" <ma*************@verizonwireless.com>
| Sender: "Marlene harkcom" <ma*************@verizonwireless.com>
| Subject: c# - Datagrid and drop down lists
| Date: Mon, 4 Aug 2003 10:50:51 -0700
| Lines: 14
| Message-ID: <02****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNasPIfuuz/bQ3yQzW0587E9ihCfA==
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:174054
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| I've got a datagrid with 5 bound columns in it as well as
| an edit/update/cancel column. I'm binding this to a
| dataset. One of the fields is always going to be one of
| three values.
| I want the user to be able to hit the edit button and have
| this particular column become a drop down list where the
| true value is selected, but they can choose one of the
| other two values. I've been able to add a dropdownlist
| column as a template column, but it is an editable
| dropdownlist all of the time- I don't want that. I only
| want it to be a drop down list when the person
| chooses "edit".
|
| Can anyone *please* help me out?
|

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.