Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
GeneralRe: Urgent!!!! Inherited User Control Pin
Richard Andrew x641-Jan-08 10:37
professionalRichard Andrew x641-Jan-08 10:37 
GeneralWorking with LicenseProviderAttribute Pin
Itay Sagui1-Jan-08 4:36
Itay Sagui1-Jan-08 4:36 
GeneralRe: Working with LicenseProviderAttribute Pin
Mark Churchill2-Jan-08 3:00
Mark Churchill2-Jan-08 3:00 
GeneralGetting all text in word document Pin
Tarek Jabri1-Jan-08 4:20
Tarek Jabri1-Jan-08 4:20 
GeneralRe: Getting all text in word document Pin
beatles16921-Jan-08 5:47
beatles16921-Jan-08 5:47 
GeneralRe: Getting all text in word document Pin
Giorgi Dalakishvili1-Jan-08 9:15
mentorGiorgi Dalakishvili1-Jan-08 9:15 
Generalproblem in object splitting Pin
chanzeb1-Jan-08 2:43
chanzeb1-Jan-08 2:43 
GeneralRe: problem in object splitting Pin
beatles16921-Jan-08 6:01
beatles16921-Jan-08 6:01 
Hi It seems that you want to get the value of some fields/properties of an object that is contained in a container object (an ArrayList for example)
If I'm right you can do it using one of the following methods:
1.whenever you want to access a member of an item of an array list cast it to its type:
<br />
((myClass)myArray[0]).MyProperty=some value;<br />

2.(.net 2.0 only)You can use generic container classes to define a type for you container object.This way all the member of the container class will be changed according to its type.For example when you write MyGenericList[0] it returns an object of the type you have defined for it
<br />
List<myclass> myList=new List<myclass>(); //MyClass is deifned as the type of generic list.<br />
myList[0].MyProperty=some value;//no casting is needed<br />

in order to use a generic collection you should use System.Collection.Generics namespace
QuestionExchanging varibles between forms? Pin
DSdragondude1-Jan-08 1:58
DSdragondude1-Jan-08 1:58 
AnswerRe: Exchanging varibles between forms? Pin
beatles16921-Jan-08 6:11
beatles16921-Jan-08 6:11 
AnswerRe: Exchanging varibles between forms? Pin
Giorgi Dalakishvili1-Jan-08 9:08
mentorGiorgi Dalakishvili1-Jan-08 9:08 
GeneralPrinting Problem Pin
alimohammed1-Jan-08 0:59
alimohammed1-Jan-08 0:59 
GeneralWriting BLOB from Database to WordFile using C# Pin
Dev Motiramani31-Dec-07 23:22
Dev Motiramani31-Dec-07 23:22 
GeneralRe: Writing BLOB from Database to WordFile using C# Pin
beatles16921-Jan-08 5:39
beatles16921-Jan-08 5:39 
GeneralDatabase connections Pin
Martin Marvinski31-Dec-07 17:13
Martin Marvinski31-Dec-07 17:13 
GeneralRe: Database connections Pin
PIEBALDconsult31-Dec-07 18:36
mvePIEBALDconsult31-Dec-07 18:36 
GeneralRe: Database connections Pin
beatles16921-Jan-08 5:21
beatles16921-Jan-08 5:21 
GeneralRe: Database connections Pin
beatles16921-Jan-08 5:32
beatles16921-Jan-08 5:32 
GeneralRe: Database connections Pin
Pete O'Hanlon1-Jan-08 10:38
mvePete O'Hanlon1-Jan-08 10:38 
QuestionDrag and Drop Picture boxes? Pin
DSdragondude31-Dec-07 9:41
DSdragondude31-Dec-07 9:41 
QuestionC# application written for Access 2003, will it work on 2007? Pin
Skcheng31-Dec-07 8:15
Skcheng31-Dec-07 8:15 
AnswerRe: C# application written for Access 2003, will it work on 2007? Pin
Paul Conrad31-Dec-07 8:40
professionalPaul Conrad31-Dec-07 8:40 
GeneralRe: C# application written for Access 2003, will it work on 2007? Pin
Skcheng31-Dec-07 12:00
Skcheng31-Dec-07 12:00 
GeneralRe: C# application written for Access 2003, will it work on 2007? Pin
Paul Conrad31-Dec-07 13:05
professionalPaul Conrad31-Dec-07 13:05 
Questionmsagent output voice file Pin
Muammar©31-Dec-07 7:41
Muammar©31-Dec-07 7:41 

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.