Data Controls :: Binding Lacs (large Number) Of Records In Gridview Makes Loading Slow?

Mar 18, 2013

I have a user control that is common to the application. It searchs for lakhs of Items in one go from the db and I set the selected Items in a list in a session to pass on to the pages that use it. Hence making the application a tad slower. The gridview that contains the Items should have sorting, page indexing. What according to u,I should do to enhance the application's performance ? 

View 1 Replies


Similar Messages:

Data Controls :: Paging In GridView With Large Number Of Records

Dec 4, 2012

In my database m having 1000 record and I want to display 10 record on each page on gridview so every time it fetch 1000 record so while page loading it is quite time consuming ..

View 1 Replies

DataSource Controls :: Inserting Large Number Of Records?

Mar 10, 2010

I want to insert a large amount( approx 7000 records) of data into a table, My scenarios is that i need to check whether the record already exists then it will not insert it. Currently i am using a stored procedure for this which gets called for each record.

IF EXISTS(SELECT 'True' FROM MYTABLE WHERE ID = @ID)
BEGIN

--This means it exists, return it to ASP and tell us

SELECT 'This record already exists!'
END
ELSE
BEGIN

--This means the record isn't in there already, let's go ahead and add it

SELECT 'Record Added'
IF EXISTS(SELECT 'True' FROM [Aadil].[dbo].[SharePointSitesData] WHERE ID <> @ID)

View 11 Replies

Web Forms :: Exporting A Large Number (65000 Records) Of Data In CSV

May 21, 2012

I am having nearly more than 80 thousand records and i need to export in .csv format.

I need to export to woksheet.

I need to export nearly 65 thousands of records in one sheet,

When  it reached the limit, it should exported in the next sheet.

View 1 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

Data Controls :: Large Number Of Columns In GridView

Mar 7, 2012

I have 65 columns in the grid, if the columns are reduced to 20 then the speed when accessing from client is more or less similar to that accessing from web browser. Does it mean that all this performance issue is due to the data only ???

View 1 Replies

Data Controls :: Show Loading GIF For Large Images Until They Load In GridView Using JQuery?

May 7, 2015

i have a gridview with 1 image colums

i want to be when loading images columns show a gif image.

View 1 Replies

VS 2010 - Presenting Large Number Of Records To User For Selection

Jul 24, 2014

I have an ASP.net VB Web app I'm working on that has a requirement to provide a list of all our component part numbers to our engineers for selection into a custom Bill of Materials for reworking of an assembly. The list of part numbers is currently generated from a stored proc in our MRP systems/SQL database. The number of records being generated is slightly over 39K part numbers.

Although the SP only takes a few seconds to generate the data the web page is taking a couple of minutes to load, primarily because of the time to fill the control presenting the records to the engineers. I've bound the data to a combobox control to the engineer. They want to be able to type the first few characters of the part number if they know it and have the list filtered or be able to just scroll the data to find the part they are looking for.

I've read elsewhere that they may be a way to only populate a certain quantity of records rather than all 39K then filter based on the users actions. Unfortunately the discussions about doing this didn't provide any examples, references, etc.

My questions are these...

Is there a better way to handle this quantity of records than a stored proc and combobox? A

ny examples of a method to populate a certain number of records then filter based on user action?

View 2 Replies

Web Forms :: Choosing Items In DropDownList Due To Large Number Of Records

Jul 13, 2012

I follow the following link for add dropdownlist in gridview.Adding Dynamic Rows in GridView with DropDownLists in ASP.Net..In this template field the drop down list contain 500 items how can i search the paticular item

View 1 Replies

Data Controls :: View Limited Number Of Item From Large Number In Datalist?

Apr 15, 2013

 i want datalist to show only 6-8items ,as these datalist is connected to datasource which has more than 20 items..

like in facebook,we have lots of friends but in friend box only 6 friends is shown and when we click that we go to next page which display all list of friends...

View 1 Replies

Data Controls :: Loading Records In GridView While Scrolling Down Without Using Paging

Jan 16, 2013

I have used a GirdView to display data from database,  data would be huge around 670 rows. And also I want to display all data together on single page.

Therefore I want to use virtual page scrolling. Means on Page load only 20 rows would be displayed, then when page would be scrolled next 20 rows would be displayed.....

View 1 Replies

Data Controls :: GridView Lazy Loading - Records Should Display Whenever User Scroll Bar Down

Mar 10, 2012

I have a requirement like need to display 5000+ records in gridview. So, I created scrollable div with gridview init and displaying 200 records per page. The website is running very slow because eveytime when user click on paging, it retrieving all the records from the database. I need to increase the website performance. I heard about a concept Girdview lazy loading but i don't know how to implement. I am looking for a solution like records should display in gridview when ever user scroll the bar down. How to do the gridview lazy loading.

View 1 Replies

Forms Data Controls :: What Are The Average Number Of Records To Bind With A GridView

Aug 4, 2010

I am having some issues with the performance. I am binding a Gridview with around 200 records and it is taking a long time. At one time I only display 10 records on the page, but I bind all the 200 records.

Generally what is the number of records that should be bound to a gridview ?

View 2 Replies

Forms Data Controls :: Trying To Add A Label In Gridview That Counts The Number Of Records?

Aug 18, 2010

I am trying to add a label in my gridview that counts the number of records that are being displayed as well as the total number of records found via the datasource. and i want this label to be displayed in the pager template of the gridview i.e. at the bottom.

I have the following code:

[Code]....

which i run in the rowdatabound method of the gridview. but when i run it it comes up with an error saying "null reference exception handles by code".i think the error lies in not being able to count the total number of rows in the sqldatasource in the int variable intTotalRecords. How do i go about counting the number of rows in the datasource that i am trying to pass in?

View 2 Replies

Forms Data Controls :: Adding The Total Number Of Records In The Gridview Footer?

May 5, 2010

I am working on gridview, i want to add the total number of records in the gridview footer which are returned by the query, and also want to see the curretly showing records, suppose if we have 50 records i want to display them as viewing 1-10 of 50 records. i need to display like this of similar to this format

View 2 Replies

Forms Data Controls :: Displaying Total Number Of Records And Select Option In A GridView?

Feb 4, 2010

How to display the total number of records returned in a GridView in asp.net? I want to display it in a label or if possible next to the page index in GridView... And how to provide a select option in a GridView to select all records (It should select not only the record shown in one page in GridView but all records that were returned to the GridView) or one by one record that was returned? These things (for e.g., Number of selected rows) should also be displayed in the label which I mentioned before.

View 5 Replies

Forms Data Controls :: Adding Specific Number Of Blank Rows After Binding Gridview With Datasource

Jan 29, 2011

i hav a gridview ... now i need to add certain number of rows... say 5 rows .... which would b blank .. the rows consist of itemtemplate of textboxes.. here is the grid ...

[Code]....

now i am binding this gridview with certain data say :

[Code]....

now the problem is if the row contains 2 data originally ... then it alwz shows up with only two rows with binded data... but what i want is 2 (databinded rows ) + 5 (empty rows with textbox ) = 7 grid view rows .... now how to do it ... after i hav binded the textbox with data already....with some empty columns corresponding to the above code ?

View 5 Replies

AJAX :: HTML Editor Makes Page Slow?

Jan 25, 2011

I was wondering if anyone could tell me why any .aspx page that I drop an Ajax HTML editor on will then become painfully slow to load and update.And more importantly is there anything that can be done about it to speed it up?I am using VS2010 and targeting ASP.Net 4.0 web application and I am using the AjaxControlToolkit version 4.1.40412.2.

View 8 Replies

Web Forms :: Datalist Makes Scrollbar In Internet Explorer Slow?

Dec 28, 2010

I got the following datalist populated with 12 images a page average size is 75kb.If i move the scrollbar in internet explorer up and down it goes very laggy and stuttering, while firefox has noproblem at al fast and smooth. If i remove the images there is noproblem. if i disable the setting smooth scrolling in ie it's a little better but still not good enough. I can't seem to find a way to get this right is there some kind of script or am i doing something wrong. Or maby do i have to put the datalist in a user control?

<asp:DataList
ID="dList"
runat="server"

[code]...

View 4 Replies

Data Controls :: Grid Very Slow While Binding Huge Data In Web Application

Jan 6, 2012

I am Using OboutGrid to Display the data in my Webforms..this is cool when am binding small data..but when am binding huge data it takes more time to display the records rather than normal datagrid. How can i improve the performance..

<obout:Grid ID="GridView1" runat="server" AllowAddingRecords="false"
AutoGenerateColumns="false" CallbackMode="true"
FolderStyle="styles/style_13" Serialize="true" ShowColumnsFooter="true" ShowGroupFooter="true"
onrowdatabound="GridView1_RowDataBound" PageSize="-1"
PageSizeOptions="1,2,3,4,5,6,7,8,9,10,50,100,500,-1">

[Code] ....

View 1 Replies

Web Forms :: Lots Of Images Inside App_Themes Folder Makes VS Very Slow

Jan 30, 2010

On App_Theme folder I have lots of images, and when I open VS2008 it performs really slowly performance.

it takes about 10 minutes to open the solutopn, and when trying to view site on browser it takes more 10 minutes to view the first page. after that, it is OK.

View 3 Replies

SQL Server :: Query Slow On Large Volume Of Data?

Dec 27, 2010

In my database when I fire query it takes 40 secs on 1 crore data, similar when I use join with other table then it take more time. I have taken care non cluster index such thing. But still I want to optimize my query, what other thing I need to take like buffer, disk size etc. I am not sure on this area.

View 11 Replies

DataSource Controls :: Total Number Of Records In Gridview?

Jul 23, 2010

I am using a gridview with inbuilt paging whose data source is an objectdatasource. i simply need to show the total no of records present in gridview in a label. when i use gridview1.rows.count then it will return only the total no of records present in that page. Is there a way to find out the total number of records present in gridview or in objectdatasource.

View 3 Replies

Data Controls :: GridView RowEditing Event Makes GridView Disappear

Dec 8, 2013

Basically, I have a gridview and it has RowEditing function, which to be fair has two lines of code

GridView1.EditIndex = e.NewEditIndex;
GridView1.DataBind();

When I press the edit button from one of the row in gridview, it hides the whole gridview!

To bring it back, I have to call the function which does the binding and suprisingly, it loads back in edit mode!

View 1 Replies

DataSource Controls :: SQL Server SELECT Statement Is Slow In Large Tables?

Jun 1, 2010

I'm facing a problem in our current running application. There is a table in database which has 67 columns,among these 18 columns are nvarchar(max) datatype and contains 30K records. Problem is now that SELECT * FROM myTable it takes around 3 to 4 seconds. Which is degrading our application's performance.

View 12 Replies







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