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

ASP.NET

 
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 
AnswerRe: How to avoid duplicate data insertion in.net???? Pin
NishantRaval27-Aug-14 23:32
NishantRaval27-Aug-14 23:32 
Hi,

You can use bellow mentioned SQL Statement in your Stored Procedure / Query.

IF NOT EXISTS (SELECT <COLUMN NAME> FROM <TABLE NAME>)
BEGIN
"YOUR INSERT INTO SQL QUERY"
END
ELSE
BEGIN
"YOUR UPDATE SQL QUERY"
END

By this way you will handle duplicate insertion.
Hope this will help you.
Thanks,
Nishant Raval.


modified 28-Aug-14 5:48am.

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 
QuestionAJAX control Pin
murali_utr13-Aug-14 23:09
murali_utr13-Aug-14 23:09 

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.