Groups | Blog | Home
all groups > vb.net data > august 2006 >

vb.net data : Combobox in a DetailView and GridView


Henry
8/15/2006 10:11:31 PM
Is it possible to make a combobox in e DetailView and GridView?

I have a table with a foreign key to another table lets say it AppartmentID.

I would like to be able to set the foreign key by using a dropdown list in
the DetailView or GridView.

If that's not possible, does anyone have any good solution on how to let a
user select the "relation" between the two tables?

It's a .net and I'm using VS2005



Any clues would be nice.


cheers
Henry

Lars Graeve
8/15/2006 11:34:32 PM
Hi!
Maybe you can inherit from ComboBox and add the required features.
All you need is a dictionary.
Greetings, Lars


"Henry" <nom@il.com> schrieb im Newsbeitrag
news:e%237NCcKwGHA.4880@TK2MSFTNGP04.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button