Forms Data Controls :: Caching Doesn't Improve Gridview Performance?

Feb 17, 2011

I am trying to speed up a Gridview on my page that reads 8,000 records using an AccessDataSource. So I am trying to implement caching. I have used the information given here: [URL] but it has made no difference in the response time. Can anyone direct me on this? Is there something you have to specify in the gridview (besides the datasource). Would it work if I went to SQL Server?

This is my AccessDataSource code. You can see the 3 relevant lines starting 6 lines from the top.

[Code]....

View 1 Replies


Similar Messages:

How To Use Caching To Improve Performance

Mar 30, 2011

My scenario is : WebApp -> WCF Service -> EDMX -> Oracle DB

When I want to bind grid I fetch records from Oracle DB using EDMX i.e LINQ Query. But, this degrades performance as multiple layers take place between WebApp & Oracle DB. Can I use caching mechanism to improve the performance? But as far as I know cache is shared across the whole application. So, if I update cache other user might receive wrong information. Can we use caching per user? Or is there any other way to improve performance of the application?

View 2 Replies

Forms Data Controls :: Improve Performance Of Gird On Page Index Change?

Oct 4, 2010

i am using data gridview asp.net control and i bind it dynamically, gird displayed 80,000 thousands records so i am using paging techniques,on each page gird display 10 record so when i am change page each time gird should filled 80.000 thousands records so how could i bind gird from pageIndex,pageSize rather than bind it whole records

Code]....

it works properly but when i change page or grdTender_PageIndexChanging event fire each time gird fill with 80.000 records now i want to bind it from current pageIndex to current page size to improve the performance of datagird

View 5 Replies

Forms Data Controls :: Improve Performance: To Display Data In DataGrid?

Mar 26, 2010

I have an SP in backend that retreives multiple recordset/DataTable where each recordset/Datatable contains 10 records and 8 columns.

The Count of recordset/Datatable differs based on parameters.

The SP retreives Data in nearly 0.01 seconds.

I have been displaying the records by looping each Datatable and each record in DataGrid Template Control, this way the page loads very slowly.

Can some one please suggest me on how to display/Load the data more efficiently and faster in front end ASP.NET 2.0?

Can I perform some Multithreading to display records from different datatables?

View 2 Replies

How To Improve Performance Of A Gridview

Feb 16, 2011

I have developed a gridview which has displays 8,000 records. However, the user is compaining that it is too slow. A major function of this gridview is to filter on two of the columns. It seems to me that if the records were stored in memory it would be much faster. This is caching, I think. Is that the case? Since filtering is being done I don't think custom paging will help much. When they submit a filter, with custom paging wouldn't the entire table be read again? So I was thinking of trying caching which is available on SQL Server. Am I on the right track? Can you cache with an Access database? Can you think of any other ways to improve performance of a gridview?

View 1 Replies

Web Forms :: Improve Performance - Takes Long Time To Save Data

Mar 8, 2010

I have selected around hundred data and then bind to the repeater each times it take a long time to save data after clicking the save button. How can i improve the performance?

View 6 Replies

DataSource Controls :: How To Improve SP Performance

May 5, 2010

I have one online school management application developed on asp.net 3.5 using Linq,

Now in my database i have main three talbes which uses in many store procedures,functions,linq join query

CourseMst - Master Table Have CourseID P.K.
StudentMst - Master Table Have StudentID P.K.
Student_Course - Child Table Have StudentCourseID P.K
StudentID F.K. Reference To StudentMSt
CourseID F.K. Reference To CourseMSt

Now i want to increse speed of my application for those page which have query or sp related to above tables,
I want to know about indexing procedure that how to apply indexing and on which field i have to apply indexing

View 5 Replies

DataSource Controls :: How To Improve Website's Performance

Jun 5, 2010

I had created a web site with asp.net and sqlserver. How can i improve the my website's performance in with regard sqlserver connection?What's your mind about use pool connection? In this regard what the defualt values is set for 'Max Pool Size' and 'Min Pool Size'?What's your mind about use Asynchronous access to data? What's your mind about other ways that you think?

View 3 Replies

DataSource Controls :: Improve The Performance Of Time In Sqlserver?

Mar 21, 2010

I have a select query where iam fetching the data from minimum of 7 different tables by using innerjoin. I have 3 lakhs of records in that table.BY using cache Iam fetching all 3lakhs of records at a time and put in cache. by using the rowfilter i use the records.firsttime when iam fetching these 3lakhs records it takes 3min. want to improve the performance of time.How to improve the performance of time?

View 1 Replies

DataSource Controls :: Improve Stored Procedure Performance?

Feb 3, 2010

I am using Sql server 2005. I have a stored procedure, which has a select statement to retrieve thousands of data from the table.

The time taken to execute is longer and hence affecting the performance.

[Code]....

Here, id is the primary key. Clustered Index is also set.

How to improve the performance of the stored procedure?

View 13 Replies

DataSource Controls :: Improve Performance While Doing Execute Nonquery?

Feb 2, 2010

I have web application in ASP.NET 2.0 and C#.I have a gridview and i have a checkbox in the gridview. I am trying to save the checked record from the gridview to the database. The time taken to save the data is becoming huge and causing performance issues.

[Code]...

View 8 Replies

Web Forms :: Improve Performance Of Site?

Aug 7, 2010

I see bugs? give me your opinion really improve my site es [URL] this is metasearch fly meta search flights

View 2 Replies

Web Forms :: Improve Speed And Better Performance?

Jul 14, 2010

I am working on finance domain, we are using many sessions and viewstates for store values and data. Our clients want fast speed of our website. We are using grid/repeater/datalist and chart controls for show data.

View 3 Replies

Web Forms :: Improve The Performance Of Application?

Jun 3, 2010

I am working on AJAX-ASP.NET site. This site is taking 25-30 sec to load the contents. I want to improve this site performance. Is there any settings required in IIS? How to check IIS log files?

View 2 Replies

Web Forms :: Improve The Performance Of Dynamically Load User Control?

Feb 16, 2011

how to improve the performance of dynamically load user control

View 1 Replies

Web Forms :: How To Improve The Performance Of This Page Like Making The Results To Be Displayed More Faster

May 1, 2010

I designed a web page in that i'm getting the query and executing the query, if a single user enters some query then the time won't be a matter, but if more than one person is accessing the webpage, then it will make delays to execute the queries,

how can i improve the performance of this page like making the results to be displayed more faster?

View 6 Replies

Best Tips To Improve The Application Performance?

Jan 20, 2011

regarding the performance improvement in Asp.Net?The best practise tips for asp.net performance improvement?

View 4 Replies

ClassLibrary Project - Improve Performance Of Application?

Feb 17, 2011

I am a .Net Developer and I develop using C#. I am always but all business logic at separat Class Library project , and then use it with my project, But I want to know if it will improve the performance of application , or I can but the Business logic class within the main project without effect at the application performance?

View 2 Replies

ADO.NET :: How To Improve The Application Performance While Writing LINQ Queries

Dec 17, 2010

how to improve the application performance while writing LINQ Queries ?Like the optimization techniques.

View 2 Replies

OutputCache Page Directive To Improve Performance Of The Site

May 14, 2010

I am having trouble with the performance of a web site... Some SQL queries are killing the server. But, as the title of this post mention, I looked at the OutputCache page directive to improve performance of the site. Although, I came across some questions regarding this directive:

1- If I have a web-user control that declares an OuputCache directive in a page that has one too, which one will "win"?

2- What's the best pratice regarding the duration ? I'd love to have a sliding window too.

View 2 Replies

Forms Data Controls :: Gridview Paging And Caching?

May 11, 2010

Background of what I have implmented so far:

I've used datagrid view to show a list on records on page, the list contains huge number of records so paging was required. Since the amount of data was huge it was not advisable to bind the grid with complete data. So, I used custom paging and tweaked the sql statements to get page wise data. Now whenever user clicks next or previous data for current page is fetched from the database and gridview is binded with that much data only.

Now I had to add a checkbox column to the grid so that user can select multiple items on multiple pages and perform an operation (for example send email to selected people in the list). I achieved this by making a template column with checkbox control and keeping a boolean column in the datatable which is binded to the gridview. I've also kept a collection selected checboxes so that the state is maintained on every postback.

I've also used ajax so that user cannot see postback happeneing. Everything works just perfect.Here comes the problem:

Now say I have 5 pages of data to be displayed. I select 3 people from first page and move to next page, this will cause fresh databinding and previous data will be lost.Now I go on and select 3 more people from page 2Finally press the send mail button What is expected here is that the mail should be sent to 6 people but details of only 3 people are available because grid is rebinded.

What is the best way to cach data of selected rows in this case. The number of columns is around 20 out of which I show only 10 columns on screen and others are kept hidden. The values of hidden columns are used while sending the emails.

View 5 Replies

Forms Data Controls :: Gridview Is Caching , Does Not Update

Jan 19, 2010

I've this Gridview of tasks a Hyperlink TemplateField that takes the user to another page where he can accept/reject[buttons] the very task , on clicking accept/reject[buttons] the page redirect the user again to the tasks Gridview , unfortunately , the same task is still there unless if the user manually Press F5[Refresh] I tried the following nothing worked

1- EnableViewState ="false"

2- In the ObjectDataSource , EnableCaching ="false"

3-i tried to use Ajax but it gives me a whole lots of errors from the webconfig ,my website is working ,I can't stop users from accessing my site in order to wrestle with Ajax

the approach I am taking on developing my site is to work in my local machine when I am finished with my changes I literally Copy/Paste the new aspx/aspx.vb overwriting the old file with the new one , this approach is working fine but it causes the server to a bit slow esp. in the first time after change, is there a more Professional way?

View 5 Replies

Forms Data Controls :: Binding Gridview - The Performance Of The Page Is Very Slow

Jan 20, 2011

I am using gridview. In which i m entering some value in textbox in Gridview.According to that value, i m generating datatable and binding it to the Gridview(Child Gridview).But when i m doing this, the performance of the page is very slow. How do i improve the performance.

View 3 Replies

Forms Data Controls :: GridView Caching / Updating With The Latest Results Of The SQL Query

Jun 17, 2010

I have 2 gridviews on a webpage that are fully editable. I also have a button, that when clicked, runs some SQL in codebehind to insert new rows into a data table. The gridview should then update with the latest results of the SQL query, which is does.

Then the user clicks on to the next page to do the next thing.The problem is, when they go back to the first page, they're still seeing the old, non-updated data. I've run the SQL from the page manually on the server, and the new data is there, but the GridView doesn't want to pull it.

View 2 Replies

Forms Data Controls :: GridView Increased Pagesize And Poor Retrieval Performance?

Feb 21, 2011

I have developed a application using Visual Studio 2008 and SQLServer 2008. I have a page called "Billing Center" where i need to display more than 500 records in a gridview and the gridview has sorting enabled. If i limit the page size upto 10 only the gridview performs well but user requirement is to view atleast 500 records at once which is slowing down the gridview record retrieval process.

I am using the following C# code in code behind to sorting, paging and retrieval . Please guide me what am i doing wrong in this code and how to make it work with large data set.

[Code]....

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved