Click here to Skip to main content
15,890,282 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Downloading multiple pdf files in a Zip is not working Pin
Member 1048246518-Aug-14 2:45
Member 1048246518-Aug-14 2:45 
Questionscrape table from web page Pin
Mahmoud198716-Aug-14 1:41
Mahmoud198716-Aug-14 1:41 
QuestionSyntax error near INSERT INTO Pin
Otekpo Emmanuel15-Aug-14 23:05
Otekpo Emmanuel15-Aug-14 23:05 
AnswerRe: Syntax error near INSERT INTO Pin
Wombaticus15-Aug-14 23:21
Wombaticus15-Aug-14 23:21 
GeneralSolved: Syntax error near INSERT INTO Pin
Otekpo Emmanuel16-Aug-14 3:17
Otekpo Emmanuel16-Aug-14 3:17 
AnswerRe: Syntax error near INSERT INTO Pin
Sibeesh KV29-Sep-14 1:34
professionalSibeesh KV29-Sep-14 1:34 
QuestionHow to avoid duplicate data insertion in.net???? Pin
Member 1086700215-Aug-14 22:06
Member 1086700215-Aug-14 22:06 
AnswerRe: How to avoid duplicate data insertion in.net???? Pin
Afzaal Ahmad Zeeshan17-Aug-14 2:48
professionalAfzaal Ahmad Zeeshan17-Aug-14 2:48 
That depends where the data is being stored at.

The only thing to do is, to first check for any match in the data. Forexample, if it is a database related data then alteast first check for any row that has the same data as

SQL
"SELECT * FROM table_name WHERE column_name = value";


If there is a result, then don't save it. If there is no data for this query (no result) then save it.

There are other methods for saving data too, like JSON and XML files. Same algorithm works, you first check whether the data is present or not, and then do what's required, save it or not! General logic would be

C#
if(data == "present") {
   // data present
   Console.WriteLine("Data present! Thanks");
} else {
   // save the data to database or the location,
   Console.WriteLine("Data saved! Thanks");
}

Favourite line: Throw me to them wolves and close the gate up. I am afraid of what will happen to them wolves - Eminem
~! Firewall !~

AnswerRe: How to avoid duplicate data insertion in.net???? Pin
NishantRaval27-Aug-14 23:32
NishantRaval27-Aug-14 23:32 
AnswerRe: How to avoid duplicate data insertion in.net???? Pin
Sibeesh KV29-Sep-14 1:36
professionalSibeesh KV29-Sep-14 1:36 
Questionhow to enable false of iframe page in asp.net not display false by jquery and css? Pin
kp 77715-Aug-14 4:54
professionalkp 77715-Aug-14 4:54 
AnswerRe: how to enable false of iframe page in asp.net not display false by jquery and css? Pin
ZurdoDev15-Aug-14 5:28
professionalZurdoDev15-Aug-14 5:28 
QuestionRequiredfield validator is not working Pin
murali_utr14-Aug-14 18:47
murali_utr14-Aug-14 18:47 
AnswerRe: Requiredfield validator is not working Pin
ZurdoDev15-Aug-14 5:29
professionalZurdoDev15-Aug-14 5:29 
QuestionHow to display certain records if user's search comes up empty? Pin
samflex14-Aug-14 6:20
samflex14-Aug-14 6:20 
SuggestionRe: How to display certain records if user's search comes up empty? Pin
Richard Deeming14-Aug-14 6:45
mveRichard Deeming14-Aug-14 6:45 
GeneralRe: How to display certain records if user's search comes up empty? Pin
samflex14-Aug-14 7:01
samflex14-Aug-14 7:01 
GeneralRe: How to display certain records if user's search comes up empty? Pin
Richard Deeming14-Aug-14 7:28
mveRichard Deeming14-Aug-14 7:28 
GeneralRe: How to display certain records if user's search comes up empty? Pin
samflex14-Aug-14 17:07
samflex14-Aug-14 17:07 
GeneralRe: How to display certain records if user's search comes up empty? Pin
Richard Deeming18-Aug-14 2:02
mveRichard Deeming18-Aug-14 2:02 
GeneralRe: How to display certain records if user's search comes up empty? Pin
samflex18-Aug-14 2:54
samflex18-Aug-14 2:54 
GeneralRe: How to display certain records if user's search comes up empty? Pin
Richard Deeming18-Aug-14 7:15
mveRichard Deeming18-Aug-14 7:15 
GeneralRe: How to display certain records if user's search comes up empty? Pin
samflex18-Aug-14 8:04
samflex18-Aug-14 8:04 
GeneralRe: How to display certain records if user's search comes up empty? Pin
Richard Deeming18-Aug-14 8:38
mveRichard Deeming18-Aug-14 8:38 
GeneralRe: How to display certain records if user's search comes up empty? Pin
samflex18-Aug-14 10:55
samflex18-Aug-14 10:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.