Click here to Skip to main content
15,891,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# and mysql Pin
Christian Graus10-Nov-05 13:53
protectorChristian Graus10-Nov-05 13:53 
QuestionSocket question Pin
Tom Wright10-Nov-05 12:40
Tom Wright10-Nov-05 12:40 
AnswerRe: Socket question Pin
User 58385210-Nov-05 16:40
User 58385210-Nov-05 16:40 
GeneralRe: Socket question Pin
Tom Wright11-Nov-05 4:55
Tom Wright11-Nov-05 4:55 
GeneralRe: Socket question Pin
Tom Wright12-Nov-05 3:20
Tom Wright12-Nov-05 3:20 
QuestionCaching multiple ArrayLists Pin
Rlearning10-Nov-05 12:40
Rlearning10-Nov-05 12:40 
AnswerRe: Caching multiple ArrayLists Pin
Christian Graus10-Nov-05 13:06
protectorChristian Graus10-Nov-05 13:06 
GeneralRe: Caching multiple ArrayLists Pin
Rlearning11-Nov-05 6:00
Rlearning11-Nov-05 6:00 
Thanks for the input.
The goal is to creat multiple arrays and store them in Cache memory. The problem I am having is with the "Cache.Insert(string, object)" Method. When I cache an array and give it a new "string" name, but use the same "object" name (ArrayList name) each time, it does not work. The results I am getting are that all Cached items point to the same "object" in memory. What it looks like to me is that the Cache.Insert does not take the array and put it in memory but rather creates a reference, like a pointer, to an existing location (object) in memory. This is why I'm trying to create a unique ArrayList name each time I create a new array. This problem also comes up when I use a DataSet and Datatables. The DataTable object reference is used by the Cache.Insert rather than the DataTable Name.

I hope I explained it so you can understand my problem.
My end goal is to take different groups of data from this SQL table and store them in different Cached items. If you have another way of doing this to achieve the same goal that would be great too.

Thanks
GeneralRe: Caching multiple ArrayLists Pin
Christian Graus13-Nov-05 9:48
protectorChristian Graus13-Nov-05 9:48 
Questioncheckedlistbox highlight and spacing Pin
SeanCM10-Nov-05 12:29
SeanCM10-Nov-05 12:29 
AnswerRe: checkedlistbox highlight and spacing Pin
whizzs11-Nov-05 8:49
whizzs11-Nov-05 8:49 
QuestionProblems with tabcontrol Pin
ika210-Nov-05 12:23
ika210-Nov-05 12:23 
QuestionHow to Get MouseEnter to Work With Mouse Button Down Pin
redfish3410-Nov-05 11:49
redfish3410-Nov-05 11:49 
QuestionA similar action to a try catch statement? Pin
Kuira10-Nov-05 11:49
Kuira10-Nov-05 11:49 
AnswerRe: A similar action to a try catch statement? Pin
Christian Graus10-Nov-05 12:42
protectorChristian Graus10-Nov-05 12:42 
GeneralRe: A similar action to a try catch statement? Pin
Kuira10-Nov-05 13:25
Kuira10-Nov-05 13:25 
GeneralRe: A similar action to a try catch statement? Pin
Christian Graus10-Nov-05 13:27
protectorChristian Graus10-Nov-05 13:27 
GeneralRe: A similar action to a try catch statement? Pin
Kuira10-Nov-05 13:46
Kuira10-Nov-05 13:46 
GeneralRe: A similar action to a try catch statement? Pin
Leslie Sanford10-Nov-05 18:47
Leslie Sanford10-Nov-05 18:47 
GeneralRe: A similar action to a try catch statement? Pin
Kuira13-Nov-05 12:15
Kuira13-Nov-05 12:15 
GeneralRe: A similar action to a try catch statement? Pin
Leslie Sanford13-Nov-05 13:11
Leslie Sanford13-Nov-05 13:11 
GeneralRe: A similar action to a try catch statement? Pin
Kuira13-Nov-05 17:05
Kuira13-Nov-05 17:05 
GeneralRe: A similar action to a try catch statement? Pin
Leslie Sanford13-Nov-05 17:37
Leslie Sanford13-Nov-05 17:37 
GeneralRe: A similar action to a try catch statement? Pin
Kuira14-Nov-05 11:53
Kuira14-Nov-05 11:53 
QuestionParsing an XML string Pin
Ravi Bhavnani10-Nov-05 11:49
professionalRavi Bhavnani10-Nov-05 11:49 

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.