Click here to Skip to main content
15,898,374 members
Home / Discussions / C#
   

C#

 
Questionhow can I sum ... Pin
mostafa_h19-Jul-06 8:22
mostafa_h19-Jul-06 8:22 
AnswerIf you are using crystal reports Pin
Ennis Ray Lynch, Jr.19-Jul-06 8:28
Ennis Ray Lynch, Jr.19-Jul-06 8:28 
GeneralRe: If you are using crystal reports Pin
mostafa_h19-Jul-06 10:09
mostafa_h19-Jul-06 10:09 
GeneralDon't forget about SQL Injection Pin
Ennis Ray Lynch, Jr.19-Jul-06 10:12
Ennis Ray Lynch, Jr.19-Jul-06 10:12 
GeneralRe: Don't forget about SQL Injection Pin
mostafa_h19-Jul-06 10:36
mostafa_h19-Jul-06 10:36 
QuestionThread Safety??? [modified] Pin
RizwanSharp19-Jul-06 8:12
RizwanSharp19-Jul-06 8:12 
AnswerRe: Thread Safety??? Pin
Ennis Ray Lynch, Jr.19-Jul-06 8:34
Ennis Ray Lynch, Jr.19-Jul-06 8:34 
GeneralRe: Thread Safety??? Pin
RizwanSharp19-Jul-06 9:50
RizwanSharp19-Jul-06 9:50 
Thanks for reply, Yes dataStream is an object of NetworkStream. I can understand the mechanism of Queing the messages but creating 100 threads for 50 Clients(50 on client end and 50 on server end) will seriously do a rape with CPU;P. One easiest way to solve this problem is to put Thread.Sleep(50); above each call of this method. Which will also not consume CPU but its cheap and will hit performance of application.

Best Regards,

GeneralPerhaps only one thread? Pin
Ennis Ray Lynch, Jr.19-Jul-06 10:32
Ennis Ray Lynch, Jr.19-Jul-06 10:32 
QuestionRe: Perhaps only one thread? Pin
RizwanSharp19-Jul-06 11:16
RizwanSharp19-Jul-06 11:16 
GeneralRe: Thread Safety??? Pin
Super Lloyd19-Jul-06 17:22
Super Lloyd19-Jul-06 17:22 
QuestionRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 9:13
Dustin Metzgar19-Jul-06 9:13 
AnswerRe: Thread Safety??? Pin
RizwanSharp19-Jul-06 9:52
RizwanSharp19-Jul-06 9:52 
GeneralRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 10:16
Dustin Metzgar19-Jul-06 10:16 
GeneralRe: Thread Safety??? Pin
RizwanSharp19-Jul-06 11:15
RizwanSharp19-Jul-06 11:15 
GeneralRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 11:25
Dustin Metzgar19-Jul-06 11:25 
GeneralRe: Thread Safety??? Pin
RizwanSharp19-Jul-06 11:35
RizwanSharp19-Jul-06 11:35 
GeneralRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 13:45
Dustin Metzgar19-Jul-06 13:45 
AnswerGot the actual problem!!! Pin
RizwanSharp19-Jul-06 21:43
RizwanSharp19-Jul-06 21:43 
GeneralRe: Got the actual problem!!! Pin
Dustin Metzgar20-Jul-06 5:23
Dustin Metzgar20-Jul-06 5:23 
GeneralSolved ;) Pin
RizwanSharp20-Jul-06 5:33
RizwanSharp20-Jul-06 5:33 
QuestionHow to get some special Windows colors? Pin
NPowDev19-Jul-06 7:25
NPowDev19-Jul-06 7:25 
AnswerRe: How to get some special Windows colors? Pin
Judah Gabriel Himango19-Jul-06 7:29
sponsorJudah Gabriel Himango19-Jul-06 7:29 
Generaland System.Drawing.SystemColors Pin
Ennis Ray Lynch, Jr.19-Jul-06 8:35
Ennis Ray Lynch, Jr.19-Jul-06 8:35 
GeneralRe: How to get some special Windows colors? Pin
NPowDev19-Jul-06 12:06
NPowDev19-Jul-06 12:06 

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.