16,018,973 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ravi Kumar Shakya (Top 5 by date)
Ravi Kumar Shakya
15-Jul-13 8:32am
View
What..?
Ravi Kumar Shakya
12-Jul-13 3:29am
View
i already told you i want the data only for that perticular search page. then i dont think it will better to store in a session and for every new search viewstate can easily chamge but we cant change session automatically as viewstate.
Ravi Kumar Shakya
11-Jul-13 3:42am
View
Here you need to use a Column having identity or primary key so that with the help of that column value you can delete complete row of that table if the count of that value is more than on.
Can you please show me the table with the [Column Name] and [Data] of 10-20 rows or some sample table like that so that i can give you exact query.
Ravi Kumar Shakya
11-Jul-13 2:28am
View
It will not work becouse it will return you the rows with atleast having a record. You need to count no of repeatation for a row then delete the rows that are more than once, You can use Identity column to do this.
SELECT id, COUNT(*) TotalCount
FROM items
GROUP BY id
HAVING COUNT(*) > 1
ORDER BY COUNT(*) DESC
Ravi Kumar Shakya
11-Jul-13 2:21am
View
I mean to say whenever i click on next, Data shuold be come from dataset only not from database. same with previous click.
I have a dataset with 1000s of records i want to fetch records again n again from dataset not from database.