Click here to Skip to main content
15,909,242 members
Home / Discussions / C#
   

C#

 
Generalpicturebox transparency Pin
sami_bio@yahoo.com23-Jun-05 23:41
sami_bio@yahoo.com23-Jun-05 23:41 
GeneralThread Pin
WDI23-Jun-05 23:30
WDI23-Jun-05 23:30 
GeneralRe: Thread Pin
Dave Kreskowiak24-Jun-05 1:41
mveDave Kreskowiak24-Jun-05 1:41 
GeneralRe: Thread Pin
WDI24-Jun-05 3:15
WDI24-Jun-05 3:15 
GeneralRe: Thread Pin
Dave Kreskowiak24-Jun-05 12:19
mveDave Kreskowiak24-Jun-05 12:19 
General.NetTAPI Pin
Anonymous23-Jun-05 21:58
Anonymous23-Jun-05 21:58 
GeneralRe: .NetTAPI Pin
Michael P Butler24-Jun-05 0:28
Michael P Butler24-Jun-05 0:28 
Question"is inaccessible due to its protection level" error ?? Pin
Member 114126623-Jun-05 21:25
Member 114126623-Jun-05 21:25 
I am trying to set the grouping / sorting fields at run-time from
C#.NET against a Crystal Report.
I'm using the code as provided in the help files using syntax like :
FieldDefinition FieldDef = new FieldDefinition();
FieldDef = Report.Database.Tables[0].Fields["FieldName"];
Report.DataDefinition.Groups[0].ConditionField = FieldDef;

I have the appropriate 'using' set up (for
CrystalDecisions.CrystalReports.Engine.FieldDefinition.FieldDefinition()).

When I attempt to compile this code I am presented with a build error
suggesting that :
'CrystalDecisions.CrystalReports.Engine.FieldDefinition.FieldDefinition()'
is inaccessible due to its protection level'.

I've followed / copied the code sample as suggested within the help files.
Where have I gone wrong / what am I missing ?

Any pointers / help would be appreciated.

Thanks in advance.
Hadi.
AnswerRe: "is inaccessible due to its protection level" error ?? Pin
leppie23-Jun-05 21:33
leppie23-Jun-05 21:33 
GeneralFinally! Pin
WillemM23-Jun-05 20:44
WillemM23-Jun-05 20:44 
GeneralC# Coding standard Pin
tostali23-Jun-05 19:31
tostali23-Jun-05 19:31 
GeneralRe: C# Coding standard Pin
Vasudevan Deepak Kumar23-Jun-05 19:54
Vasudevan Deepak Kumar23-Jun-05 19:54 
GeneralRe: C# Coding standard Pin
Michael P Butler24-Jun-05 0:33
Michael P Butler24-Jun-05 0:33 
Generalngen/obsfucator Pin
Christian Graus23-Jun-05 16:21
protectorChristian Graus23-Jun-05 16:21 
GeneralRe: ngen/obsfucator Pin
MoustafaS23-Jun-05 16:48
MoustafaS23-Jun-05 16:48 
GeneralRe: ngen/obsfucator Pin
Dave Kreskowiak23-Jun-05 16:53
mveDave Kreskowiak23-Jun-05 16:53 
GeneralRe: ngen/obsfucator Pin
Christian Graus23-Jun-05 16:54
protectorChristian Graus23-Jun-05 16:54 
GeneralRe: ngen/obsfucator Pin
Ashok Dhamija23-Jun-05 20:06
Ashok Dhamija23-Jun-05 20:06 
GeneralRe: ngen/obsfucator Pin
Dave Kreskowiak24-Jun-05 1:34
mveDave Kreskowiak24-Jun-05 1:34 
GeneralRe: ngen/obsfucator Pin
Ashok Dhamija24-Jun-05 2:39
Ashok Dhamija24-Jun-05 2:39 
GeneralRe: ngen/obsfucator Pin
leppie24-Jun-05 7:00
leppie24-Jun-05 7:00 
GeneralRe: ngen/obsfucator Pin
leppie25-Jun-05 9:53
leppie25-Jun-05 9:53 
GeneralWebBrowser Pin
Lasse Johansen23-Jun-05 12:50
Lasse Johansen23-Jun-05 12:50 
GeneralNetwork Libraries Pin
palwhatsup23-Jun-05 12:20
palwhatsup23-Jun-05 12:20 
GeneralRe: Network Libraries Pin
Mohamad Al Husseiny2-Sep-05 15:33
Mohamad Al Husseiny2-Sep-05 15:33 

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.