Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

gridview with edit button / drop down

Posted on 2014-03-02
3
Medium Priority
?
439 Views
Last Modified: 2014-03-26
like I have asp.net/c# gridview with drop down inside one of the columns. when edit button is clicked, and I want that drop down to be able to capture the value from the database.

How can I do that?
0
Comment
Question by:CoolDev2014
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:sammySeltzer
ID: 39900368
If you use ItemTemplate within ObjectDataSource, it makes things so much easier for you.

This link provides not just examples but source code to make help you.

http://www.codeproject.com/Articles/23402/DropDownList-as-ItemTemplate-within-a-GridView-wit
0
 

Author Comment

by:CoolDev2014
ID: 39906943
I don't use ObjectDataSource
0
 
LVL 29

Accepted Solution

by:
sammySeltzer earned 2000 total points
ID: 39906996
Well, you might get some help by providing a bit more information with some supporting code.

What I posted was a "guess" as to what you have and what you are trying to do.
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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

636 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