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 you can access the properties and controls of master pages from content pages?
Define static constructor?
What is application and session in asp.net?
14. What are your Future Plans for Swatz Oils GROUP U.K?
What are the differences between the response.write() and response.output.write()?
What is windows active directory authentication?
What is asp.net web pages?
What is difference between asp state management and asp.net state management?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
What is mvc in asp.net interview question? : Asp.Net MVC
What events will occur when a page is loaded?
What does asp.net stand for?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
What are the various types of cookies in asp.net?
Why do we need url encoding?