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 are the types of caching in asp.net?
What is caching? Explain.
How many types of validation are there?
How long should a session id be?
Is session server side or client side?
What parameters can you pass in the url of the api? Can get and post use the same url?
Elaborate differentiation between ViewState and SessionState?
Can you change a master page dynamically at runtime? How?
What kind of data we can store in viewstate?
What does the orientation property do in a menu control?
Where would you use an ihttpmodule, and what are the limitations of any?
What is the difference between client-side and server-side validations in ASP.NET?
What is the page life cycle in asp.net?
What are the differnt types of handler in ASP.NET?
What are validators and list some validators of asp.net?