Click here to Skip to main content
15,894,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: giving error message according to Sql data Pin
AspDotNetDev8-Dec-10 11:50
protectorAspDotNetDev8-Dec-10 11:50 
GeneralRe: giving error message according to Sql data Pin
Pete O'Hanlon8-Dec-10 11:53
mvePete O'Hanlon8-Dec-10 11:53 
GeneralRe: giving error message according to Sql data Pin
AspDotNetDev8-Dec-10 12:01
protectorAspDotNetDev8-Dec-10 12:01 
GeneralRe: giving error message according to Sql data Pin
PIEBALDconsult8-Dec-10 14:24
mvePIEBALDconsult8-Dec-10 14:24 
AnswerRe: giving error message according to Sql data Pin
Mycroft Holmes8-Dec-10 12:04
professionalMycroft Holmes8-Dec-10 12:04 
GeneralRe: giving error message according to Sql data Pin
PIEBALDconsult8-Dec-10 14:23
mvePIEBALDconsult8-Dec-10 14:23 
GeneralRe: giving error message according to Sql data Pin
_Maxxx_8-Dec-10 15:25
professional_Maxxx_8-Dec-10 15:25 
GeneralRe: giving error message according to Sql data Pin
Mycroft Holmes8-Dec-10 15:35
professionalMycroft Holmes8-Dec-10 15:35 
_Maxxx_ wrote:
he had a unique constraint violation


Ok I missed that mainly b/c I make no distinction between the 2 constraints, if that scenario existed then I would still do a select on the code field before inserting and feed the result back to the user. In the case of your new product I would return the record/info on the product entered by the first commit.

I admit there is a potential for a conflict on a really high volume system but I have yet to meet such a system.
Never underestimate the power of human stupidity
RAH

GeneralRe: giving error message according to Sql data Pin
_Maxxx_8-Dec-10 19:36
professional_Maxxx_8-Dec-10 19:36 
GeneralRe: giving error message according to Sql data Pin
Mycroft Holmes8-Dec-10 20:08
professionalMycroft Holmes8-Dec-10 20:08 
AnswerRe: giving error message according to Sql data Pin
PIEBALDconsult8-Dec-10 14:30
mvePIEBALDconsult8-Dec-10 14:30 
GeneralRe: giving error message according to Sql data [modified] Pin
Erdinc278-Dec-10 22:05
Erdinc278-Dec-10 22:05 
GeneralRe: giving error message according to Sql data Pin
Pete O'Hanlon9-Dec-10 23:57
mvePete O'Hanlon9-Dec-10 23:57 
AnswerRe: giving error message according to Sql data Pin
Hiren solanki8-Dec-10 23:03
Hiren solanki8-Dec-10 23:03 
GeneralRe: giving error message according to Sql data Pin
Pete O'Hanlon9-Dec-10 0:47
mvePete O'Hanlon9-Dec-10 0:47 
QuestionListview selected item backgroundcolor Pin
peropata8-Dec-10 2:04
peropata8-Dec-10 2:04 
AnswerRe: Listview selected item backgroundcolor Pin
Not Active8-Dec-10 2:17
mentorNot Active8-Dec-10 2:17 
AnswerRe: Listview selected item backgroundcolor Pin
Tarun.K.S8-Dec-10 4:28
Tarun.K.S8-Dec-10 4:28 
QuestionRead PDF file in C# Pin
Sunil G 37-Dec-10 20:04
Sunil G 37-Dec-10 20:04 
AnswerRe: Read PDF file in C# Pin
Manfred Rudolf Bihy7-Dec-10 20:20
professionalManfred Rudolf Bihy7-Dec-10 20:20 
AnswerRe: Read PDF file in C# Pin
Hiren solanki7-Dec-10 20:42
Hiren solanki7-Dec-10 20:42 
GeneralRe: Read PDF file in C# Pin
TweakBird7-Dec-10 22:55
TweakBird7-Dec-10 22:55 
GeneralRe: Read PDF file in C# Pin
Sunil G 37-Dec-10 23:49
Sunil G 37-Dec-10 23:49 
QuestionCustomized DateTime Picker Control Pin
Varun Sareen7-Dec-10 17:54
Varun Sareen7-Dec-10 17:54 
AnswerRe: Customized DateTime Picker Control Pin
Hiren solanki7-Dec-10 20:01
Hiren solanki7-Dec-10 20:01 

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.