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
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
How do sessions work?
What are session cookies?
What is webresource axd?
How should I destroy my objects in asp.net?
Explain global assembly cache.
Define xmlvalidatingreader class.
Explain the code Access Security (CAS) in .net Framework?
What is mvc in asp.net interview question? : Asp.Net MVC
Write a code for sending an email from asp.net application.
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is a url string?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc