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

Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

986


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

1090


How do sessions work?

897


What are session cookies?

970


What is webresource axd?

839


How should I destroy my objects in asp.net?

1037


Explain global assembly cache.

995


Define xmlvalidatingreader class.

1049


Explain the code Access Security (CAS) in .net Framework?

1212


What is mvc in asp.net interview question? : Asp.Net MVC

929


Write a code for sending an email from asp.net application.

1009


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

1012


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

981


What is a url string?

983


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

1094