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 enableviewstatemac in asp net?

590


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

542


Why session is used in asp.net?

519


What is the biggest disadvantage of “Other Return Types” in Web API?

918


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1400






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

289


Are cookies client side or server side?

490


Can we set master page as a start page?

526


What is data reader in asp.net?

488


How do you create a master page?

545


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

563


how to write html code with ssl

1515


What is the parent class of all web server control?

529


What is the difference between a page theme and a global theme?

523


How do you secure your configuration files to be accessed remotely by unauthorized users?

612