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 is web router?
Difference between overriding and overloading?
What is in a session cookie?
How to send a DataReader as a parameter to a remote client ?
Can asp.net work on an nt server?
How is it possible for .NET to support many languages?
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
Which is faster union or union all?
What is the maximum number of classes that can be contained in one dll file?
Can you explain autopostback?
Which property is used to identify the Page is Post Back in ASP.NET?
Explain swagger components.
What is the difference between web.config and machine.config in ASP.NET?
What is asp.net file?