Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
WinGrid Designer doesn't work with Linq Datasource
posted

I have tried two separate projects so far, and every time I select an object created through the Linq to SQL designer as the datasource to my ultrawingrid Visual Studio becomes unresponsive using half my processor.  This has happened on two separate machines, so I am reasonably certain that this is the grid.  The other controls do not have an issue, only the ultragrid.

I'm using the 2008 volume 3 version.  Is anyone else having this issue?

Thanks,

John Bailey

Parents
No Data
Reply
  • 17259
    Offline posted

    Linq to Sql and IG works great for me in a big project. Your problem is because you attached the whole table to the grid. Usually it is a design mistake. This thing can be very slow if your table is very big, but you can solve it by the VirtualMode feature (which I'm not really know much about).

    Better thing to do, perform a query on the table which ends with ToArray that will really pull the data and put the array on the grid.

    When you put the table as the data source, the data is being pulled only when the grid is trying to get it whet it loads on the form.

Children