Programmatically drawing a Data Grid

D

David Webb

Hi,

I have a form that has various controls drawn on it depending on data
in the database. So far, I can draw my textbox, slide bar and
listviews with no problems. I instantiate it, add it to the form
collection, manipulate the sizes and all is fine. However, with the
Grid, which I apply the same principles, I can't see it - I've tried
visible=true and enabled=true but still can't see it. Has anyone
experienced anything similar in VB.NET CF?

Regards,

David.
 
P

Peter Foot [MVP]

Do you have a reference to System.Windows.Forms.DataGrid.dll in your project
(this is added by default if you add the control through the designer).
Unlike the desktop framework the DataGrid in the Compact Framework is in a
separate assembly.

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
Handheld Interactive Reference Guides
 
R

RAVI KRISHNASWAMY [MSFT]

If this is still a problem, please send a repro.

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top