|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Datagrid inside a Panel doesn't load recordshi 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 > The problem is that if I put this panel into a Form I can't load any How are you loading the data?> data from my db. Design-time or runtime... I mean, datasource is specified before Load happens or dynamically using SetDataBinding? -- Happy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujinionline.com http://eduzine.edujinionline.com ----------------------------------------- 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 ? Show quote > > How are you loading the data? > > Design-time or runtime... I mean, datasource is specified before Load > happens or dynamically using SetDataBinding? > > > -- > Happy Hacking, > Gaurav Vaish | www.mastergaurav.com > www.edujinionline.com > http://eduzine.edujinionline.com > ----------------------------------------- > In both case a I have not written any code about binding or something That means design time.> else. Can you forward relevant piece of code (remove any sensitive information, if any) to my email address? gaurav[dot]vaish[at]gmail (ReplaceAll: [dot] => .; [at] => @) -- Happy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujinionline.com http://eduzine.edujinionline.com ----------------------------------------- |
|||||||||||||||||||||||