Solved

gridview with edit button / drop down

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

Accepted Solution

by:
sammySeltzer earned 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install Problem 13 30
imap mails 1 22
Crystal Reports - Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine. Version = 10.5.3700.0' 6 19
asp.net mvc5 6 16
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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