If i have 1000 records in dataset, how to do paging?

Answer Posted / sunil kumar singh

for(int i=0;i<ds.Count;i++)
{
arraylist arr=new arraylist();
string abc;
abc=ds.Tables["tablename"].Rows[0][i].ToString();
arr.Add(abc);
}

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which situation can you not use a viewstate?

538


Explain the asp.net page life cycle.

560


Explain how can we inherit a static member?

534


How many types of sessions in asp.net?

587


We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?

443






What is the difference between custom controls and user controls?

483


Can we use html in asp.net?

504


What are httphandlers and httpmodules and difference between them?

529


What are client activated objects and server activated objects?

521


What is event bubbling?

608


Do gac'ed assemblies have fulltrust?

647


What r the asp.net list controls and difference between them?

508


What are the new features added from ASP to ASP.NET?

573


How does asp page work?

551


What symbol specifies the beginning of a query string?

537