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

Gridview with combobox whose data is dependent on field in gridview

P: n/a
I am an inexperienced asp.net user starting my first app in asp.net. I
need to have a combobox field in my gridview whose data is filtered by
a field in that row. More specifically, I am to display all the
invoice numbers (there can be many) tied to the container number
displayed on the row. Each row has a different container number so in
each row the combobox will need to display different information. I
have found code to help me figure out how to populate the combobox, but
I can't find anything out there that has an example of a combobox on a
gridview that has unique values in the combobox for each row, tied to
data in that row.

Thanks in advance for any help.

Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I meant dropdown list not combobox. I sometimes confuse the two.
Sorry.

Nov 20 '05 #2

P: n/a
Look at the 2-way databinding from the Quickstart tutorials:
http://66.129.71.130/QuickStartv20/u...umDropDown.src

http://66.129.71.130/QuickStartv20/a...spx#twowaybind
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"wa******@hotmail.com" wrote:
I am an inexperienced asp.net user starting my first app in asp.net. I
need to have a combobox field in my gridview whose data is filtered by
a field in that row. More specifically, I am to display all the
invoice numbers (there can be many) tied to the container number
displayed on the row. Each row has a different container number so in
each row the combobox will need to display different information. I
have found code to help me figure out how to populate the combobox, but
I can't find anything out there that has an example of a combobox on a
gridview that has unique values in the combobox for each row, tied to
data in that row.

Thanks in advance for any help.

Nov 20 '05 #3

P: n/a
Thank you for your response, but I don't see the relationship between
the sample that you sent and my question. This might be because I am
new to asp.net. What I want is for the dropdownlist to be in my
gridview and the data in the dropdownlist for each row to be unique
based on the key value for the row.

Again thanks for your reply and the site you referrenced should be
helpful to me in the future.

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.