Datagrid inside a Panel doesn't load records

  • Thread starter Thread starter Lambuz
  • Start date Start date
L

Lambuz

hi all,
I'm using .NET Framework 2.0 and I've created a Panel with a DataGrid
inside.
This datagrid was created automatically by dragging & dropping into it
a datasource.

The problem is that if I put this panel into a Form I can't load any
data from my db.

If I drag & drop into this same Form the same datasource of the panel
all datas are loaded correctly.

why ?

Thax at all
 
Sincererly I don't know, because I've only used the UI of Visual Studio
by dragging & dropping some my datasorurces inside my Panel or my Form.

When I drag & drop inside my Form everytthing works properly, but when
I drag & drop the datasource into my Panel and my Panel into my Form it
doesn't work.

In both case a I have not written any code about binding or something
else.

Where have I to check ?
 
Solved.

for some unknown reason the wizard has not put the fill instruction in
the Panel.

thanx
 
Back
Top