G
Guest
Hi,
I am using DataSets and DataAdapters generated by VS in my project, but i
cant find any way how to force such generated adapters not to load only all
records retuned by query into given DataSet (i need to avoid situations when
too many records matchind searching conditions and could lead to memory
overloading or stumping user with horde of records).
What would i need is to call DataAdapter.Fill method with parameter
maxRecords specified. It looks that there is not any support for design-time
created adapters to do this... (Best would be to override generated adapters'
Fill method, but it is not virtual one...)
Is there any way to achieve this while still using design support for
adapters and datasets?
Thanks for any idea
I am using DataSets and DataAdapters generated by VS in my project, but i
cant find any way how to force such generated adapters not to load only all
records retuned by query into given DataSet (i need to avoid situations when
too many records matchind searching conditions and could lead to memory
overloading or stumping user with horde of records).
What would i need is to call DataAdapter.Fill method with parameter
maxRecords specified. It looks that there is not any support for design-time
created adapters to do this... (Best would be to override generated adapters'
Fill method, but it is not virtual one...)
Is there any way to achieve this while still using design support for
adapters and datasets?
Thanks for any idea