Click here to Skip to main content
15,896,912 members
Home / Discussions / C#
   

C#

 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
David_4119-Sep-16 11:13
David_4119-Sep-16 11:13 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
Gerry Schmitz19-Sep-16 18:05
mveGerry Schmitz19-Sep-16 18:05 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
David_4120-Sep-16 5:19
David_4120-Sep-16 5:19 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
Gerry Schmitz20-Sep-16 5:31
mveGerry Schmitz20-Sep-16 5:31 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
David_4120-Sep-16 7:53
David_4120-Sep-16 7:53 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
Gerry Schmitz20-Sep-16 8:34
mveGerry Schmitz20-Sep-16 8:34 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
David_4120-Sep-16 8:39
David_4120-Sep-16 8:39 
GeneralRe: SSRS Loop Through Report Datasets and Modify at Runtime Pin
Gerry Schmitz20-Sep-16 9:43
mveGerry Schmitz20-Sep-16 9:43 
QuestionHow to show SSRS report in asp.net from report server Pin
Tridip Bhattacharjee18-Sep-16 21:52
professionalTridip Bhattacharjee18-Sep-16 21:52 
AnswerRe: How to show SSRS report in asp.net from report server Pin
Richard MacCutchan18-Sep-16 22:20
mveRichard MacCutchan18-Sep-16 22:20 
GeneralRe: How to show SSRS report in asp.net from report server Pin
#realJSOP19-Sep-16 1:32
professional#realJSOP19-Sep-16 1:32 
AnswerRe: How to show SSRS report in asp.net from report server Pin
ZurdoDev19-Sep-16 2:06
professionalZurdoDev19-Sep-16 2:06 
AnswerRe: How to show SSRS report in asp.net from report server Pin
Dave Kreskowiak19-Sep-16 2:28
mveDave Kreskowiak19-Sep-16 2:28 
GeneralRe: How to show SSRS report in asp.net from report server Pin
Pete O'Hanlon19-Sep-16 4:20
mvePete O'Hanlon19-Sep-16 4:20 
GeneralRe: How to show SSRS report in asp.net from report server Pin
Dave Kreskowiak19-Sep-16 5:47
mveDave Kreskowiak19-Sep-16 5:47 
GeneralRe: How to show SSRS report in asp.net from report server Pin
Richard MacCutchan19-Sep-16 6:40
mveRichard MacCutchan19-Sep-16 6:40 
AnswerRe: How to show SSRS report in asp.net from report server Pin
Gerry Schmitz19-Sep-16 7:01
mveGerry Schmitz19-Sep-16 7:01 
GeneralRe: How to show SSRS report in asp.net from report server Pin
Tridip Bhattacharjee19-Sep-16 21:35
professionalTridip Bhattacharjee19-Sep-16 21:35 
QuestionPrevent Multiple Same User Logins On A Desktop Application C# Pin
Zeyad Jalil18-Sep-16 2:26
professionalZeyad Jalil18-Sep-16 2:26 
AnswerRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Wendelius18-Sep-16 3:41
mentorWendelius18-Sep-16 3:41 
One way to do this is to query if there already is a session for that specific user in the system. You can get the information from sys.dm_exec_sessions[^]

Since not every user is allowed to query that view, it's best if you do the check inside a stored procedure upon connecting to the database. If the connection is already found (or actually if there now is two connections) then raise an error from the procedure to inform client application that new connection isn't allowed. Another option is to use Logon Triggers[^]

Depending on the requirements, you can check if the host is different if you need to allow multiple connections from the same host

modified 18-Sep-16 10:31am.

GeneralRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Zeyad Jalil18-Sep-16 19:31
professionalZeyad Jalil18-Sep-16 19:31 
GeneralRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Wendelius18-Sep-16 21:38
mentorWendelius18-Sep-16 21:38 
GeneralRe: Prevent Multiple Same User Logins On A Desktop Application C# Pin
Wendelius13-Oct-16 11:04
mentorWendelius13-Oct-16 11:04 
QuestionBar Code Generate Pin
Member 1116631816-Sep-16 21:55
professionalMember 1116631816-Sep-16 21:55 
AnswerRe: Bar Code Generate Pin
Gerry Schmitz17-Sep-16 6:27
mveGerry Schmitz17-Sep-16 6:27 

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.