Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to access main form controls from usercontrol on the form Pin
Christian Graus4-Sep-05 15:33
protectorChristian Graus4-Sep-05 15:33 
GeneralRe: how to access main form controls from usercontrol on the form Pin
monica2k4-Sep-05 15:48
monica2k4-Sep-05 15:48 
GeneralRe: how to access main form controls from usercontrol on the form Pin
Christian Graus4-Sep-05 15:51
protectorChristian Graus4-Sep-05 15:51 
GeneralRe: how to access main form controls from usercontrol on the form Pin
monica2k4-Sep-05 16:54
monica2k4-Sep-05 16:54 
GeneralRe: how to access main form controls from usercontrol on the form Pin
Christian Graus4-Sep-05 16:56
protectorChristian Graus4-Sep-05 16:56 
GeneralRe: how to access main form controls from usercontrol on the form Pin
monica2k4-Sep-05 17:10
monica2k4-Sep-05 17:10 
GeneralRe: how to access main form controls from usercontrol on the form Pin
Christian Graus4-Sep-05 17:22
protectorChristian Graus4-Sep-05 17:22 
GeneralRe: how to access main form controls from usercontrol on the form Pin
monica2k4-Sep-05 17:31
monica2k4-Sep-05 17:31 
GeneralRe: how to access main form controls from usercontrol on the form Pin
Christian Graus4-Sep-05 17:33
protectorChristian Graus4-Sep-05 17:33 
GeneralRe: how to access main form controls from usercontrol on the form Pin
monica2k4-Sep-05 17:49
monica2k4-Sep-05 17:49 
GeneralRe: how to access main form controls from usercontrol on the form Pin
Christian Graus4-Sep-05 17:50
protectorChristian Graus4-Sep-05 17:50 
QuestionFinding variables of a special type Pin
User 66584-Sep-05 14:27
User 66584-Sep-05 14:27 
AnswerRe: Finding variables of a special type Pin
Christian Graus4-Sep-05 14:54
protectorChristian Graus4-Sep-05 14:54 
GeneralRe: Finding variables of a special type Pin
User 66584-Sep-05 15:01
User 66584-Sep-05 15:01 
Questionusing c# for console .exe Pin
Sasuko4-Sep-05 12:25
Sasuko4-Sep-05 12:25 
QuestionStarting Process "CMD.exe" Pin
sylvester20004-Sep-05 10:07
susssylvester20004-Sep-05 10:07 
AnswerRe: Starting Process "CMD.exe" Pin
Mohamad Al Husseiny4-Sep-05 15:01
Mohamad Al Husseiny4-Sep-05 15:01 
GeneralRe: Starting Process "CMD.exe" Pin
Bonsai20044-Sep-05 23:23
Bonsai20044-Sep-05 23:23 
Questionwriting log files on server Pin
Anonymous4-Sep-05 9:14
Anonymous4-Sep-05 9:14 
AnswerRe: writing log files on server Pin
Christian Graus4-Sep-05 10:53
protectorChristian Graus4-Sep-05 10:53 
Questionmanaged resources Pin
CWinThread4-Sep-05 6:40
CWinThread4-Sep-05 6:40 
AnswerRe: managed resources Pin
Guffa4-Sep-05 6:45
Guffa4-Sep-05 6:45 
GeneralRe: managed resources Pin
CWinThread4-Sep-05 10:52
CWinThread4-Sep-05 10:52 
QuestionMulti users and Multi connectios in client/server application Pin
rmedo4-Sep-05 4:09
rmedo4-Sep-05 4:09 
AnswerRe: Multi users and Multi connectios in client/server application Pin
Christian Graus4-Sep-05 10:54
protectorChristian Graus4-Sep-05 10:54 
rmedo wrote:
first I want to know what are the pitfalls of making all clients connect to database using single instance of connection placed on server that's mean that we will define database connection on the server and open it all the time??

Contention. If more than one user tries to use the database at a time, they will have to wait.

rmedo wrote:
second I want to know what are the benefits of making each application user connect to the same database user (ex. sa)??

It means you can more easily set up a connection pool, because all connections are usable by everyone. It also means that it's easier to set up the database, because there's no real permissions layer. However, this means you need to enforce your permissions in code.



Christian Graus - Microsoft MVP - C++

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.