Solved

gridview with edit button / drop down

Posted on 2014-03-02
3
397 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 28

Expert Comment

by:sammySeltzer
Comment Utility
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
Comment Utility
I don't use ObjectDataSource
0
 
LVL 28

Accepted Solution

by:
sammySeltzer earned 500 total points
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LINQ question 7 20
Need an intro to -- .Net SQL Authorization Manager 7 47
Image(7) 1 33
VB.NET HttpWebRequest 12 30
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now