Click here to Skip to main content
11,480,938 members (57,643 online)
   

C#

 
QuestionHow to show image contained in DataList to Modal dialog Pin
PramodSawant15-Feb-13 2:54
memberPramodSawant15-Feb-13 2:54 
AnswerRe: How to show image contained in DataList to Modal dialog Pin
Dave Kreskowiak15-Feb-13 4:59
mvpDave Kreskowiak15-Feb-13 4:59 
QuestionFinger Print Image Pin
karthisomu14-Feb-13 21:20
memberkarthisomu14-Feb-13 21:20 
AnswerRe: Finger Print Image Pin
Richard MacCutchan15-Feb-13 0:13
mvpRichard MacCutchan15-Feb-13 0:13 
AnswerRe: Finger Print Image Pin
Dave Kreskowiak15-Feb-13 4:56
mvpDave Kreskowiak15-Feb-13 4:56 
QuestionHow to Send SMS Messages from C# ? [modified] Pin
Member 964140614-Feb-13 21:00
memberMember 964140614-Feb-13 21:00 
AnswerRe: c# Pin
V.14-Feb-13 22:08
memberV.14-Feb-13 22:08 
GeneralRe: thank you Pin
Member 964140615-Feb-13 1:04
memberMember 964140615-Feb-13 1:04 
GeneralRe: thank you Pin
V.15-Feb-13 1:05
memberV.15-Feb-13 1:05 
AnswerRe: c# Pin
Richard MacCutchan15-Feb-13 0:11
mvpRichard MacCutchan15-Feb-13 0:11 
GeneralRe: c# Pin
Member 964140615-Feb-13 0:58
memberMember 964140615-Feb-13 0:58 
AnswerRe: How to Send SMS Messages from C# ? Pin
jschell15-Feb-13 10:18
memberjschell15-Feb-13 10:18 
AnswerRe: How to Send SMS Messages from C# ? Pin
Amir Mohammad Nasrollahi29-Jul-13 23:15
professionalAmir Mohammad Nasrollahi29-Jul-13 23:15 
QuestionC# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 9:25
memberHbr_Tha_real14-Feb-13 9:25 
Hy guys...

I am facing a serious problem, with c# sqlTransaction,

The thing is, i have about 7 different tables that i execute a single transactions against(with a their autoIncrement IDs), which works fine for a single user when trying to insert new record... now the problem started when 10 users were capturing the information together and sometimes do concurent transections where the first user submits the form and the transaction starts(e.g at ID 1001), and user number 2 (few seconds after the 1st user) submits as well and get the second(1002) for the 1st and 2nd table, but for some reason(network signal maybe) 1st user insert is slow and and 2nd user's signal(speed) is faster and then the 2nd user ends up getting the 1st ID of the 3rd and the rest of the tables and the 1st user will get the second ID that was assigned to the 2nd user in the 1st 2 tables........

i think the problem here is the isolation mode which i didn't(or couldn't) set for the insert query to prevent the concurent insertion...

If i'm wrong please kindly correct me.

Now what i'm asking is you guys to help me control this...

The languages i'm using is/are..

1.c# in Visual studio 2010
2.Ms sql server 2008 r2
3. and asp.net...

I'd really appreciate ur help...

I'm sorry about the grama, English is not my home languege. thank you in advanve
AnswerRe: C# SqlTransaction Pin
mark merrens14-Feb-13 9:42
membermark merrens14-Feb-13 9:42 
GeneralRe: C# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 10:08
memberHbr_Tha_real14-Feb-13 10:08 
GeneralRe: C# SqlTransaction Pin
mark merrens14-Feb-13 10:46
membermark merrens14-Feb-13 10:46 
GeneralRe: C# SqlTransaction Pin
Hbr_Tha_real14-Feb-13 12:17
memberHbr_Tha_real14-Feb-13 12:17 
GeneralRe: C# SqlTransaction Pin
mark merrens14-Feb-13 12:46
membermark merrens14-Feb-13 12:46 
QuestionClassic ASP and C# syntax Pin
vanikanc14-Feb-13 9:11
membervanikanc14-Feb-13 9:11 
AnswerRe: Classic ASP and C# syntax Pin
vanikanc14-Feb-13 11:54
membervanikanc14-Feb-13 11:54 
Questionalphanumeric counter Pin
Angela Scheuvront14-Feb-13 8:41
memberAngela Scheuvront14-Feb-13 8:41 
AnswerRe: alphanumeric counter Pin
Jibesh14-Feb-13 10:04
memberJibesh14-Feb-13 10:04 
GeneralRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 10:28
memberMatt T Heffron14-Feb-13 10:28 
GeneralRe: alphanumeric counter Pin
Jibesh14-Feb-13 10:29
memberJibesh14-Feb-13 10:29 
GeneralRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 10:13
memberMatt T Heffron14-Feb-13 10:13 
QuestionRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 10:52
memberMatt T Heffron14-Feb-13 10:52 
AnswerRe: alphanumeric counter Pin
Angela Scheuvront14-Feb-13 11:15
memberAngela Scheuvront14-Feb-13 11:15 
GeneralRe: alphanumeric counter Pin
Matt T Heffron14-Feb-13 11:25
memberMatt T Heffron14-Feb-13 11:25 
GeneralRe: alphanumeric counter Pin
Angela Scheuvront15-Feb-13 2:45
memberAngela Scheuvront15-Feb-13 2:45 
AnswerRe: alphanumeric counter Pin
Richard Deeming15-Feb-13 2:37
memberRichard Deeming15-Feb-13 2:37 
GeneralRe: alphanumeric counter Pin
Matt T Heffron15-Feb-13 8:39
memberMatt T Heffron15-Feb-13 8:39 
QuestionStreamWriter.WriteAsync Pin
wizardzz14-Feb-13 7:15
memberwizardzz14-Feb-13 7:15 
AnswerRe: StreamWriter.WriteAsync Pin
Dave Kreskowiak14-Feb-13 8:31
mvpDave Kreskowiak14-Feb-13 8:31 
GeneralRe: StreamWriter.WriteAsync Pin
wizardzz14-Feb-13 9:33
memberwizardzz14-Feb-13 9:33 
GeneralRe: StreamWriter.WriteAsync Pin
wizardzz14-Feb-13 9:55
memberwizardzz14-Feb-13 9:55 
Questionsingle selection of radio buttons in a table Pin
Member 258173814-Feb-13 5:36
memberMember 258173814-Feb-13 5:36 
AnswerRe: single selection of radio buttons in a table Pin
Richard MacCutchan14-Feb-13 5:58
mvpRichard MacCutchan14-Feb-13 5:58 
AnswerRe: single selection of radio buttons in a table Pin
Alan Balkany14-Feb-13 6:04
memberAlan Balkany14-Feb-13 6:04 
QuestionBetter code Pin
source.compiler14-Feb-13 4:57
membersource.compiler14-Feb-13 4:57 
AnswerRe: Better code Pin
Alan Balkany14-Feb-13 5:50
memberAlan Balkany14-Feb-13 5:50 
GeneralRe: Better code Pin
Manfred R. Bihy14-Feb-13 6:28
memberManfred R. Bihy14-Feb-13 6:28 
QuestionRe: Better code Pin
source.compiler14-Feb-13 6:40
membersource.compiler14-Feb-13 6:40 
AnswerRe: Better code Pin
Alan Balkany14-Feb-13 6:50
memberAlan Balkany14-Feb-13 6:50 
GeneralRe: Better code Pin
Dave Kreskowiak14-Feb-13 7:09
mvpDave Kreskowiak14-Feb-13 7:09 
GeneralRe: Better code Pin
Espen Harlinn14-Feb-13 7:14
mvpEspen Harlinn14-Feb-13 7:14 
GeneralRe: Better code Pin
Alan Balkany14-Feb-13 7:40
memberAlan Balkany14-Feb-13 7:40 
GeneralRe: Better code Pin
source.compiler14-Feb-13 13:02
membersource.compiler14-Feb-13 13:02 
GeneralRe: Better code Pin
Alan Balkany15-Feb-13 4:18
memberAlan Balkany15-Feb-13 4:18 
AnswerRe: Better code Pin
santhosh.3591@gmail.com14-Feb-13 9:19
membersanthosh.3591@gmail.com14-Feb-13 9:19 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 24 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid