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
220
Retrieving Data from the DB
posted

Hi,

 

I'm having a little trouble understanding using the UltraDataSource in conjunction with the UltraGrid to pull data out of a DB. I've been looking at the million rows sample, but it doesnt really deal with using a DB.

 

Basically, I have (currently) an SQLDataAdapter retrieving data from the DB, and dropping it all into a DS. The UGrid is bound to this DS, and is displaying the details. Unfortunately, this particular query is returning upwards of 50K rows, and so is freezing the application during loading (understandably).

 

I've toyed with putting in a manual dropdown filter to reduce the number of records, but its conceivable that they would need to have all the rows, since we make use of the Outlook groupBy feature, as well as the column filtering feature. I actually suspect that we cant use the loadondemand setup if we are also using these two features, but im not entirely sure on that one.

 

Having a look at it in a bit more detail, it seems like the system is freezing on the sda fill event, so im not even sure if using this method will work, but can anyone give me some guidance on how to use the UltraDS for this sort of thing? I'd also prefer to not have to manually enter the column names if at all possible.

Can anyone help?

 

Thanks

Fergal