Bonjour !
Je dispose de 2 tables : Employés et Entreprises. Dans ma table entreprise j'ai un champ id_administrateur qui est une FK vers employés.

J'aimerai lister toutes les entreprises à l'aide d'un DataGrid.
Ce qui se passe actuellement c'est que quand j'affiche ma table, j'ai une colone avec les ID et j'aimerai une colonne avec le nom des utilisateurs directement.

Ma question est donc : comment mettre des entrées de plusieurs tables dans un datagrid.

J'ai bien essayé cette méthode : http://searchwebservices.techtarget....824493,00.html mais je bloque au niveau 3 :

STEP 3: Add and DataBind a DataGrid to your DataSource

* Select the tab with WebForm1.aspx (or open it) and drag-and-drop the employee table from the Server Explorer to the design surface. This should create a Connection component and a DataAdapter component on the designer surface.
* Select the DataAdapter1 in the designer tray, then select the Configure Data Adapter . . . link beneath the Properties window. This opens the Data Adapter Configuration Wizard. Configure this DataAdapter using all the default selections (at least, for the purpose of this example. You can modify these as needed for your own applications).
* Drag-and-drop the jobs table from the Server Explorer to the design surface. This should only create a DataAdapter (it should use the Connection from earlier in this step, and not have to create a new one).
* Select the DataAdapter2 in the designer tray, then select the Configure Data Adapter . . . link beneath the Properties window. Again, use all the defaults values in the Wizard.
* Drag-and-drop a DataSet item from the Data tab of the Toolbox, at which point the Add Dataset dialog appears. Make sure that you select Typed Dataset and that the DataGridRelations.Employees DataSet is selected in the drop-down list box.
Quand je droppe ma table sur une fenetre aspx, j'ai juste le contenu de ma table qui s'affiche dans le designer... Et ca me crée un Gridview et pas un dataadapter comme ce qui est marqué... Du coup je suis perdu et je ne vois pas comment avancer.

De l'aide please