Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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?

Answers were Sorted based on User's Feedback



1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records..

Answer / 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

1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records..

Answer / paban

If the connection source is one then use limit command in
both the sql commands.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

What is hidden field in asp.net?

0 Answers  


Why is the standalone environment only useful during the development process?

0 Answers  


What is new asp.net core?

0 Answers  


17. If I?m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?

1 Answers  


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

0 Answers  






How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


What is the difference between the get method () and post method ()?

0 Answers  


What is server side routing?

0 Answers  


Rate yourself in .net and sql database?

1 Answers   BrickRed, Infosys, Satyam, SP Software,


What are the versions of garbage collection?

0 Answers   Proteans,


diff between Server.Transfer() and Server.Execute()

1 Answers  


How does dataset acts in a disconnected fashion ?

3 Answers   TCS,


Categories