Click here to Skip to main content
15,891,033 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondata inserting problem into sql having single quote in it through asp form Pin
sana1728-Jan-09 10:18
sana1728-Jan-09 10:18 
AnswerRe: data inserting problem into sql having single quote in it through asp form Pin
ToddHileHoffer28-Jan-09 10:38
ToddHileHoffer28-Jan-09 10:38 
GeneralRe: data inserting problem into sql having single quote in it through asp form Pin
sana1728-Jan-09 22:07
sana1728-Jan-09 22:07 
AnswerRe: data inserting problem into sql having single quote in it through asp form Pin
N a v a n e e t h28-Jan-09 14:44
N a v a n e e t h28-Jan-09 14:44 
GeneralRe: data inserting problem into sql having single quote in it through asp form Pin
sana1728-Jan-09 22:06
sana1728-Jan-09 22:06 
QuestionCircula Button Pin
ziwez028-Jan-09 7:10
ziwez028-Jan-09 7:10 
Questionasp.net ajax accordion recursive method Pin
kuyucakli28-Jan-09 6:30
kuyucakli28-Jan-09 6:30 
Questionmulti thread in web service Pin
raquidd2228-Jan-09 4:49
raquidd2228-Jan-09 4:49 
hello

i wish manage a budget in my company
i make a web service

'this variable is global
Shared saldo As Integer
<webmethod()> Public Function ExisteSaldoSMS() As Boolean


'get saldo

If saldo > 0 Then
'is saldo
saldo -= 1
update saldo
existeSaldo = True

Else
'No saldo
existeSaldo = False

End If

Return existeSaldo

End Function


i have a test aplication
firs i run the application with a loop 50 next i go to my database in the saldo is correct

but if i run 2 thread one with 50 request and the other with 100 my saldo no is correct

i have the variable shared saldo


Can someone help me how is the way correct to work saldo to multi thread


Thanks for the time
regards
AnswerRe: multi thread in web service Pin
Colin Angus Mackay28-Jan-09 14:46
Colin Angus Mackay28-Jan-09 14:46 
QuestionHow to allow a user and deny all others Pin
Le centriste28-Jan-09 4:11
Le centriste28-Jan-09 4:11 
AnswerRe: How to allow a user and deny all others Pin
SeMartens28-Jan-09 4:39
SeMartens28-Jan-09 4:39 
GeneralRe: How to allow a user and deny all others Pin
Le centriste28-Jan-09 4:47
Le centriste28-Jan-09 4:47 
AnswerSOLVED Pin
Le centriste28-Jan-09 4:52
Le centriste28-Jan-09 4:52 
QuestionASP.Net Development Server Issues [modified] Pin
Jacquers28-Jan-09 2:26
Jacquers28-Jan-09 2:26 
QuestionBuild Error Pin
ais0728-Jan-09 2:13
ais0728-Jan-09 2:13 
AnswerRe: Build Error Pin
mr_muskurahat28-Jan-09 3:52
mr_muskurahat28-Jan-09 3:52 
Questioncalling remote webservices from sharepoint using javascript Pin
gottimukkala28-Jan-09 0:47
gottimukkala28-Jan-09 0:47 
Questionemail not getting to destination address Pin
tomertro28-Jan-09 0:27
tomertro28-Jan-09 0:27 
AnswerRe: email not getting to destination address Pin
N a v a n e e t h28-Jan-09 1:16
N a v a n e e t h28-Jan-09 1:16 
QuestionMaintaining old .net 1.1 bound datagrid control Pin
jonatec27-Jan-09 22:31
jonatec27-Jan-09 22:31 
AnswerRe: Maintaining old .net 1.1 bound datagrid control Pin
Paddy Boyd28-Jan-09 2:03
Paddy Boyd28-Jan-09 2:03 
GeneralRe: Maintaining old .net 1.1 bound datagrid control Pin
jonatec28-Jan-09 2:31
jonatec28-Jan-09 2:31 
GeneralRe: Maintaining old .net 1.1 bound datagrid control Pin
Paddy Boyd28-Jan-09 2:33
Paddy Boyd28-Jan-09 2:33 
GeneralRe: Maintaining old .net 1.1 bound datagrid control Pin
jonatec28-Jan-09 2:34
jonatec28-Jan-09 2:34 
QuestionProblem with Login Control Pin
sarang_k27-Jan-09 22:23
sarang_k27-Jan-09 22:23 

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.