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

Re: Lookup in gridview by Cor

Cor
Tue Jul 01 22:15:44 CDT 2008

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

"John" <info@nospam.infovis.co.uk> schreef in bericht
news:O76ysK82IHA.4928@TK2MSFTNGP04.phx.gbl...
> 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
>
>


Re: Lookup in gridview by John

John
Wed Jul 02 05:48:23 CDT 2008

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

Regards

"Cor Ligthert[MVP]" <notmyfirstname@planet.nl> wrote in message
news:622D4A96-6202-4175-9C9C-ED9893FF43AC@microsoft.com...
> 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
>
> "John" <info@nospam.infovis.co.uk> schreef in bericht
> news:O76ysK82IHA.4928@TK2MSFTNGP04.phx.gbl...
>> 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
>>
>>
>



Re: Lookup in gridview by ElFer

ElFer
Wed Jul 02 06:41:02 CDT 2008

Use "SelectedValue" property from ComboBox


"John" wrote:

> DataGridView is available on WinForm in vs2008. I don't understand what you
> mean.
>
> Regards
>
> "Cor Ligthert[MVP]" <notmyfirstname@planet.nl> wrote in message
> news:622D4A96-6202-4175-9C9C-ED9893FF43AC@microsoft.com...
> > 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
> >
> > "John" <info@nospam.infovis.co.uk> schreef in bericht
> > news:O76ysK82IHA.4928@TK2MSFTNGP04.phx.gbl...
> >> 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
> >>
> >>
> >
>
>
>

Re: Lookup in gridview by Cor

Cor
Wed Jul 02 12:06:53 CDT 2008

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


Re: Lookup in gridview by Backwater

Backwater
Thu Jul 03 02:46:29 CDT 2008

Cor Ligthert(MVP),

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

MH


Re: Lookup in gridview by Cor

Cor
Thu Jul 03 05:35:03 CDT 2008

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

"Backwater Geezer" <geezer@eu.con> schreef in bericht
news:%23jhmoDO3IHA.2064@TK2MSFTNGP02.phx.gbl...
> Cor Ligthert(MVP),
>
> Which software did you use to translate your thoughts into English?
>
> MH
>