Lookup in gridview

J

John

Hi

I have a gridview bound to a backend table A via dataset/data adapter. A
drop down is bound to a second table B. When user selects a value form drop
down I want to lookup another column in table B based on value selected from
drop down and assign the lookup value to a column in gridviw. How can I pick
the value selected by user and do the lookup from table B?

Thanks

Regards
 
C

Cor Ligthert[MVP]

John,

A gridview does not work on a Windows form, therefore are you sure that it
is a gridview, because that is an ASPNET control.

Cor
 
J

John

DataGridView is available on WinForm in vs2008. I don't understand what you
mean.

Regards
 
C

Cor Ligthert[MVP]

John,
DataGridView is available on WinForm in vs2008. I don't understand what
you mean.
As well is the combobox, but the GridView as in your original post and in
the subject of these messages is like the DropDown in your message not both
are ASPNET controls. So what kind of help you want as you don't even try to
describe your problem well?

I saw that you probably was not meaning the GridView as you asked your
question about and the dropdown because of the many crosspost you had made
which in that windowsforms.

But as most of us, we want to help people but than we expect that the poster
at least takes some time to describe his problem well.

Cor
 
B

Backwater Geezer

Cor Ligthert(MVP),

Which software did you use to translate your thoughts into English?

MH
 
C

Cor Ligthert [MVP]

As I had used software to translate, then it would have been much better.

However you probably speak only English and don't know that people who speak
more languages simple think in that language. That those thought don't come
always readable on paper, has nothing to do with translating,.

However with changing the text to many times.

But are one liners the only thing you can write?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top