Click here to Skip to main content
15,893,381 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: opening work documents in Axwebbrowser: Pin
Arun Ramachandran21-Jul-08 17:54
Arun Ramachandran21-Jul-08 17:54 
Questionsending and receiving file over TCP/IP (c#) ?(*jpg,etc..)no text..file.. Pin
tdrgn20-Jul-08 23:34
tdrgn20-Jul-08 23:34 
AnswerRe: sending and receiving file over TCP/IP (c#) ?(*jpg,etc..)no text..file.. Pin
Paul Conrad21-Jul-08 8:51
professionalPaul Conrad21-Jul-08 8:51 
GeneralRe: sending and receiving file over TCP/IP (c#) ?(*jpg,etc..)no text..file.. Pin
tdrgn22-Jul-08 2:19
tdrgn22-Jul-08 2:19 
QuestionSet focus on Datagrid view cell Pin
venkat86_ece20-Jul-08 22:14
venkat86_ece20-Jul-08 22:14 
AnswerRe: Set focus on Datagrid view cell Pin
John Ad21-Jul-08 4:24
John Ad21-Jul-08 4:24 
QuestionAccess Control List Pin
Michael Adel20-Jul-08 21:22
Michael Adel20-Jul-08 21:22 
QuestionAccess control Pin
RyanEK20-Jul-08 16:00
RyanEK20-Jul-08 16:00 
Hi,

I'm looking for a point in the right direction with regards to access control. What I mean by AC is the ability to set a View/Add/Edit/Delete restriction on a field in a windows form.

For example, lets say I have a contact screen with a Display name edit box. I only want this field editable for particular users.

Does anyone have any tips on how to achieve this? My initial thought was to store an identifier of all the controls in the db and have a base form loop through through all the controls on a form. It would then apply the access rights. ie. if you only have the right to view a field, set the control to readonly. If you don't have the right to view it, set the control to invisible. This seems like a really cumbersome approach.

Thanks in advance to anyone willing to provide tips and suggestions Smile | :)

Ryan
AnswerRe: Access control Pin
Mycroft Holmes20-Jul-08 20:22
professionalMycroft Holmes20-Jul-08 20:22 
GeneralRe: Access control Pin
RyanEK21-Jul-08 12:44
RyanEK21-Jul-08 12:44 
GeneralRe: Access control Pin
Mycroft Holmes21-Jul-08 14:16
professionalMycroft Holmes21-Jul-08 14:16 
GeneralRe: Access control Pin
RyanEK21-Jul-08 16:14
RyanEK21-Jul-08 16:14 
GeneralRe: Access control Pin
Mycroft Holmes21-Jul-08 17:32
professionalMycroft Holmes21-Jul-08 17:32 
GeneralRe: Access control Pin
RyanEK21-Jul-08 17:59
RyanEK21-Jul-08 17:59 
GeneralRe: Access control Pin
darkelv21-Jul-08 23:26
darkelv21-Jul-08 23:26 
AnswerRe: Access control Pin
darkelv20-Jul-08 23:37
darkelv20-Jul-08 23:37 
GeneralRe: Access control Pin
RyanEK21-Jul-08 12:46
RyanEK21-Jul-08 12:46 
QuestionCrystal report preview is working but when running form its not working Pin
amistry_petlad19-Jul-08 19:27
amistry_petlad19-Jul-08 19:27 
QuestionExcel Workbook Creation Pin
Bagyaraj Palani17-Jul-08 21:30
Bagyaraj Palani17-Jul-08 21:30 
Questionvery large data app Pin
bfis10813717-Jul-08 9:33
bfis10813717-Jul-08 9:33 
AnswerRe: very large data app Pin
Paul Conrad17-Jul-08 16:49
professionalPaul Conrad17-Jul-08 16:49 
GeneralRe: very large data app Pin
bfis10813717-Jul-08 19:14
bfis10813717-Jul-08 19:14 
GeneralRe: very large data app Pin
Paul Conrad18-Jul-08 2:57
professionalPaul Conrad18-Jul-08 2:57 
AnswerRe: very large data app Pin
darkelv17-Jul-08 17:28
darkelv17-Jul-08 17:28 
GeneralRe: very large data app Pin
led mike17-Jul-08 19:23
led mike17-Jul-08 19: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.