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
What is enableviewstatemac in asp net?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
Why session is used in asp.net?
What is the biggest disadvantage of “Other Return Types” in Web API?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
How is it possible for .NET to support many languages?
Are cookies client side or server side?
Can we set master page as a start page?
What is data reader in asp.net?
How do you create a master page?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
how to write html code with ssl
What is the parent class of all web server control?
What is the difference between a page theme and a global theme?
How do you secure your configuration files to be accessed remotely by unauthorized users?