Click here to Skip to main content
15,898,373 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to read and write to xml using dataset Pin
snorkie4-Mar-10 16:37
professionalsnorkie4-Mar-10 16:37 
GeneralRe: how to read and write to xml using dataset Pin
xiaowenjie4-Mar-10 21:47
xiaowenjie4-Mar-10 21:47 
AnswerRe: how to read and write to xml using dataset Pin
shawnzhang4-Mar-10 19:26
shawnzhang4-Mar-10 19:26 
QuestionRemoving All "List<*>" Items Though It Shouldn't ... ?? [SOLVED] Pin
Matt U.4-Mar-10 12:36
Matt U.4-Mar-10 12:36 
AnswerRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Luc Pattyn4-Mar-10 14:54
sitebuilderLuc Pattyn4-Mar-10 14:54 
GeneralRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Matt U.4-Mar-10 15:19
Matt U.4-Mar-10 15:19 
GeneralRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Luc Pattyn4-Mar-10 15:27
sitebuilderLuc Pattyn4-Mar-10 15:27 
GeneralRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Matt U.4-Mar-10 15:56
Matt U.4-Mar-10 15:56 
I am looking forward to updating the code to follow your recommendations. I just don't have a lot of time at the moment. I simply wanted to fix this issue.

No, I am not receiving any sort of exception in the area you mentioned. However, I did solve the problem. It was a very strange cause and I really don't understand why it caused the problem. The following line of code caused the issue:

sessionsForm.ClearArtistsList();

which called "Artists.Clear();" in the "SessionsForm" class. The reason I don't understand the issue is because "Artists" is an entirely separate "List" object in an entirely different form's class file. However, making the call to "Artists.Clear()" was unnecessary and now that I look at it I'm wondering why the heck I ever put that in there to begin with.

Thank you very much for the help. I'll be looking into each of your suggestions this weekend (when my schedule permits) in order to understand how they will help me. I will then apply those techniques where needed. Big Grin | :-D

By the way, I call "SaveDataToDisk" because the application has taken a different path than originally intended. I thought the application would be rather small, containing minimal data. But now that I've turned it into the beast that it is (:-P) I am going to have the user manually save via the standard "File->Save", as well as implementing an auto-save feature.
GeneralRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Luc Pattyn4-Mar-10 16:06
sitebuilderLuc Pattyn4-Mar-10 16:06 
GeneralRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Matt U.5-Mar-10 11:37
Matt U.5-Mar-10 11:37 
GeneralRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Luc Pattyn5-Mar-10 12:00
sitebuilderLuc Pattyn5-Mar-10 12:00 
GeneralRe: Removing All "List" Items Though It Shouldn't ... ?? Pin
Matt U.5-Mar-10 12:04
Matt U.5-Mar-10 12:04 
QuestionChanging colors of an image Pin
Berlus4-Mar-10 9:34
Berlus4-Mar-10 9:34 
AnswerRe: Changing colors of an image Pin
Anubhava Dimri4-Mar-10 18:14
Anubhava Dimri4-Mar-10 18:14 
QuestionWinsock Library Recommendation? [modified] Pin
Richard Andrew x644-Mar-10 9:13
professionalRichard Andrew x644-Mar-10 9:13 
AnswerRe: Winsock Library Recommendation? Pin
snorkie4-Mar-10 10:22
professionalsnorkie4-Mar-10 10:22 
GeneralRe: Winsock Library Recommendation? Pin
Richard Andrew x644-Mar-10 10:29
professionalRichard Andrew x644-Mar-10 10:29 
AnswerRe: Winsock Library Recommendation? Pin
snorkie4-Mar-10 11:22
professionalsnorkie4-Mar-10 11:22 
GeneralRe: Winsock Library Recommendation? Pin
Richard Andrew x644-Mar-10 11:31
professionalRichard Andrew x644-Mar-10 11:31 
GeneralRe: Winsock Library Recommendation? Pin
snorkie4-Mar-10 16:30
professionalsnorkie4-Mar-10 16:30 
AnswerRe: Winsock Library Recommendation? Pin
Ennis Ray Lynch, Jr.4-Mar-10 11:41
Ennis Ray Lynch, Jr.4-Mar-10 11:41 
Questionfiles name of a directory in a lable one by one Pin
tanweer4-Mar-10 9:11
tanweer4-Mar-10 9:11 
AnswerRe: files name of a directory in a lable one by one Pin
AspDotNetDev4-Mar-10 9:35
protectorAspDotNetDev4-Mar-10 9:35 
Questionloop in service. Pin
noamtzu004-Mar-10 8:29
noamtzu004-Mar-10 8:29 
AnswerRe: loop in service. Pin
Dave Kreskowiak4-Mar-10 9:07
mveDave Kreskowiak4-Mar-10 9:07 

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.