Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: DataGridView RowsAdded vs DataBindingComplete - Performance in microsoft.public.dotnet.framework.adonet

Started 3 weeks, 6 days ago by Christiano
Hey there.. Plz... I'm having this huge doubt... I have a datagridview which is bound with a dataset with data from SQL server. After the grid is bound to the dataset, the DataBindingComplete method is fired... It loops row by row getting the value from a hidden col, replacing it by an ...
Site: Discussions in microsoft.public.dotnet.framework.adonet  Discussions in microsoft.public.dotnet.framework.adonet - site profile
Forum: microsoft.public.dotnet.framework.adonet  microsoft.public.dotnet.framework.adonet - forum profile
Total authors: 2 authors
Total thread posts: 2 posts
Thread activity: no new posts during last week
Domain info for: microsoft.com

Other posts in this thread:

Jani Järvinen [MVP] replied 3 weeks, 5 days ago
Hello Christiano, before suggesting possibly a better solution, I'd like to know what is your data access technlogy. Are you using ADO.NET directly, Entity Framework, LINQ, etc.? In my opinion it would be fastest to do this field replacement at the dataset level (if applicable), and not at the control level. Also, five...

 

Top contributing authors

Name
Posts
Christiano
1
user's latest post:
DataGridView RowsAdded vs...
Published (2009-11-10 19:09:00)
  Hey there.. Plz... I'm having this huge doubt... I have a datagridview which is bound with a dataset with data from SQL server. After the grid is bound to the dataset, the DataBindingComplete method is fired... It loops row by row getting the value from a hidden col, replacing it by an image and filling another col with this image. It takes me about 5 seconds to fill 70 rows.. Would it be any faster using the RowsAdded method?...
Jani Järvinen [MVP]
1
user's latest post:
DataGridView RowsAdded vs...
Published (2009-11-11 08:30:00)
  Hello Christiano, before suggesting possibly a better solution, I'd like to know what is your data access technlogy. Are you using ADO.NET directly, Entity Framework, LINQ, etc.? In my opinion it would be fastest to do this field replacement at the dataset level (if applicable), and not at the control level. Also, five seconds for 70 rows sounds a lot. What kind of image replacement are you doing? Would it be faster to let the...

Related threads on "Discussions in microsoft.public.dotnet.framework.adonet":

Related threads on other sites:

Thread profile page for "DataGridView RowsAdded vs DataBindingComplete - Performance in microsoft.public.dotnet.framework.adonet" on http://www.microsoft.com/communities/newsgroups.... This report page is a snippet summary view from a single thread "DataGridView RowsAdded vs DataBindingComplete - Performance in microsoft.public.dotnet.framework.adonet", located on the Message Board at http://www.microsoft.com/communities/newsgroups.... This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity