[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

gridview with edit button / drop down

Posted on 2014-03-02
3
Medium Priority
?
441 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
  • 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month19 days, 11 hours left to enroll

873 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