Click here to Skip to main content
15,923,789 members
Home / Discussions / C#
   

C#

 
QuestionSetting the Maxlength of the TreeNode text Pin
San21-Aug-08 19:22
San21-Aug-08 19:22 
AnswerRe: Setting the Maxlength of the TreeNode text Pin
Thomas Stockwell22-Aug-08 4:46
professionalThomas Stockwell22-Aug-08 4:46 
QuestionExcel application does not quit after automation from Visual Studio .NET client Pin
Xiaoming Qian21-Aug-08 19:18
Xiaoming Qian21-Aug-08 19:18 
QuestionDataset crystalreports Pin
nelsonpaixao21-Aug-08 15:44
nelsonpaixao21-Aug-08 15:44 
QuestionHow to directly access the virtual method table of a COM Interface pointer? Pin
Ryan Leckey21-Aug-08 15:12
Ryan Leckey21-Aug-08 15:12 
QuestionEditing element in List Pin
Winson Lee21-Aug-08 14:25
Winson Lee21-Aug-08 14:25 
AnswerRe: Editing element in List Pin
Ryan Leckey21-Aug-08 16:11
Ryan Leckey21-Aug-08 16:11 
AnswerRe: Editing element in List Pin
Guffa21-Aug-08 21:34
Guffa21-Aug-08 21:34 
As you have added the same array to the list twice, you have a list with two reference to the same array. Therefore there is three ways of changing the period:

totalPeriodNo[3] = "1.33";

salesPeriod[0][3] = "1.33";

salesPeriod[1][3] = "1.33";

Either of these will change the item in the array. As the list is just two references to the same array, the change will be visible in both items of the list.

If you want two separate items in the list, you have to create a new array object before populating it with the BB data.

Despite everything, the person most likely to be fooling you next is yourself.

AnswerRe: Editing element in List Pin
Jon Hulatt22-Aug-08 3:44
Jon Hulatt22-Aug-08 3:44 
QuestionHi I need some help with this code Pin
Angelinna21-Aug-08 13:05
Angelinna21-Aug-08 13:05 
AnswerRe: Hi I need some help with this code Pin
Christian Graus21-Aug-08 13:15
protectorChristian Graus21-Aug-08 13:15 
GeneralRe: Hi I need some help with this code Pin
Angelinna21-Aug-08 13:22
Angelinna21-Aug-08 13:22 
GeneralRe: Hi I need some help with this code Pin
Christian Graus21-Aug-08 13:38
protectorChristian Graus21-Aug-08 13:38 
QuestionRe: Hi I need some help with this code Pin
Angelinna21-Aug-08 14:00
Angelinna21-Aug-08 14:00 
AnswerRe: Hi I need some help with this code Pin
Christian Graus21-Aug-08 15:38
protectorChristian Graus21-Aug-08 15:38 
GeneralRe: Hi I need some help with this code Pin
Guffa21-Aug-08 21:50
Guffa21-Aug-08 21:50 
QuestionHow can I get input from 2 forms? Pin
CopperCircle21-Aug-08 11:33
CopperCircle21-Aug-08 11:33 
AnswerRe: How can I get input from 2 forms? Pin
Christian Graus21-Aug-08 11:44
protectorChristian Graus21-Aug-08 11:44 
AnswerRe: How can I get input from 2 forms? [modified] Pin
DaveyM6921-Aug-08 12:02
professionalDaveyM6921-Aug-08 12:02 
GeneralRe: How can I get input from 2 forms? Pin
ianhunt0121-Aug-08 20:09
ianhunt0121-Aug-08 20:09 
GeneralRe: How can I get input from 2 forms? Pin
DaveyM6921-Aug-08 21:25
professionalDaveyM6921-Aug-08 21:25 
AnswerDO THIS EXEMPLE OK? Pin
nelsonpaixao21-Aug-08 15:30
nelsonpaixao21-Aug-08 15:30 
GeneralRe: DO THIS EXEMPLE OK? Pin
Silvyster21-Aug-08 21:21
Silvyster21-Aug-08 21:21 
AnswerRe: DO THIS EXEMPLE OK? Pin
nelsonpaixao22-Aug-08 13:36
nelsonpaixao22-Aug-08 13:36 
QuestionTest-driven developed project example Pin
sacoskun21-Aug-08 9:24
sacoskun21-Aug-08 9:24 

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.