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
How can we create a website?
How do you secure your connection string information?
What is difference between View State and Hidden Field in ASP.NET?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
They mostly asked difference between versions of technologies
What is the full form of asp.net?
Can we have 2 web config files?
What is fulltrust?
What is application variable in asp.net?
Explain one critical mapping?
What is the namespace to create thread in .net?
Will the asp.net validators run in server side or client side?
What is mta?
Define repository pattern in mvc.net? : asp.net mvc
What is a web api?