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 are two ways that you can set the minimum and maximum values for a rangevalidator? When would you use each technique?

1 Answers  


Explain asp.net mvc request life cycle? : asp.net mvc

0 Answers  


What is three major points in WCF?

9 Answers   Syntel,


what are the files used in asp .net

1 Answers  


What are the different ways of processing data in ASP page in the server side (like Forms, QueryStrings etc)?

1 Answers  






how to send mail in asp.net

2 Answers  


What is an asp.net validator? And, mention its types.

0 Answers  


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

0 Answers  


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

0 Answers  


How do you manage session in ASP and ASP.NET ?

2 Answers   Cap Gemini, Microsoft,


What is the difference between Hash table and Array list?

0 Answers  


What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?

26 Answers   Syntax Softtech,


Categories