Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

1.how to encrpt query string in asp.net?
2.there are 10000 records then i wnat display 5000 records
one gridview and 5000 records another grid view
what is the process?

Answer Posted / don

if there are 10000 records , break the records into two
half using sql quries and then by using ado.net
connectivity we can do this,

1st 5000 records: string s1=select top 5000 * from emp

2nd 5000 records: string s2=select top 5000 * from emp
order by empid desc

sqldataAdapter d1 = new sqldatAadapter(s1);
sqldataAdapter d2 = new sqldatAadapter(s2);

dataset ds = new dataset();

d1.fill(ds,"e1");
d1.fill(ds,"e2");

grid1.datasource = ds.tables["e1"];
grid1.datasource = ds.tables["e2"];

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is web router?

988


Difference between overriding and overloading?

1359


What is in a session cookie?

1011


How to send a DataReader as a parameter to a remote client ?

3516


Can asp.net work on an nt server?

1089


How is it possible for .NET to support many languages?

781


Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?

958


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

6722


Which is faster union or union all?

1055


What is the maximum number of classes that can be contained in one dll file?

1262


Can you explain autopostback?

1039


Which property is used to identify the Page is Post Back in ASP.NET?

1059


Explain swagger components.

1067


What is the difference between web.config and machine.config in ASP.NET?

1210


What is asp.net file?

1295