I know that when binding DataGridView to Datatable, the ADO.NET create
Dataview.
the problem is with large data, this process take long time and consume
RAM.

if i not need sorting service have a way to avoid the default dataView?

Re: Binding DataGridView without default DataVeiw, it's possible? by Miha

Miha
Fri Mar 03 08:00:48 CST 2006

Hi,

Here is what I usually do: I give user filters to filter data before
fetching from database and at the same time I limit the max number of
records that can be fetched.
Having enormous amount of data in grid is counterproductive anyway.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

<mtczx232@yahoo.com> wrote in message
news:1141393372.880098.228660@z34g2000cwc.googlegroups.com...
>I know that when binding DataGridView to Datatable, the ADO.NET create
> Dataview.
> the problem is with large data, this process take long time and consume
> RAM.
>
> if i not need sorting service have a way to avoid the default dataView?
>



Re: Binding DataGridView without default DataVeiw, it's possible? by mtczx232

mtczx232
Fri Mar 03 08:36:19 CST 2006

I'm find your solution before 2 hours. I use with it, to fill datagrid
by loop of DataReader, while records apears on Datagrid as it come
more and more. like SQL Mng Studio do.


Re: Binding DataGridView without default DataVeiw, it's possible? by Miha

Miha
Fri Mar 03 08:41:52 CST 2006

If you need that amount of data it has to be stored somewhere...

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/



Re: Binding DataGridView without default DataVeiw, it's possible? by mtczx232

mtczx232
Sun Mar 05 01:23:32 CST 2006

unfortunate dotnet not have ready to use, Datatable that cache to
client HD