Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
Questionflash object Pin
Nafiseh Salmani19-Dec-06 21:49
Nafiseh Salmani19-Dec-06 21:49 
AnswerRe: flash object Pin
althamda19-Dec-06 23:07
althamda19-Dec-06 23:07 
GeneralRe: flash object Pin
Nafiseh Salmani19-Dec-06 23:35
Nafiseh Salmani19-Dec-06 23:35 
QuestionXslCompiledTransform problem with special chars Pin
karanba19-Dec-06 21:32
karanba19-Dec-06 21:32 
QuestionWhat's my IP Address?? Pin
Muammar©19-Dec-06 20:50
Muammar©19-Dec-06 20:50 
AnswerRe: What's my IP Address?? Pin
wedtm19-Dec-06 22:51
wedtm19-Dec-06 22:51 
GeneralRe: What's my IP Address?? Pin
Muammar©19-Dec-06 23:40
Muammar©19-Dec-06 23:40 
QuestionOpening... Pin
dsl/fahk19-Dec-06 20:25
dsl/fahk19-Dec-06 20:25 
I have made a file using the following (with the writestream):
int written = 0;
                while (written < listView1.Items.Count)
                {
                    sw.WriteLine(";" + " Name: " + listView1.Items[written].SubItems[0] + "; Address: " + 
listView1.Items[written].SubItems[1] + "; City: " + listView1.Items[written].SubItems[2] + "; State: " + 
listView1.Items[written].SubItems[3] + "; Zip: " + listView1.Items[written].SubItems[4] + "{}" );
                    written = written + 1;
                }

I am now trying to open the files by first seperating them into each set, and then seperate the properties. The code for that part looks like this(so far).
//changing to something listview1 understands
                    string[] TestString = Regex.Split(OpenedFile, "{}", RegexOptions.None);
                    int TestStringLength = TestString.Length;
                    
                    int number = 0;
                    while (number < TestStringLength)
                    {
                        string[] StringSplit = Regex.Split(TestString[number], ";", RegexOptions.None);
                    }

What i want is to be able to put all of the seperate values back in their appropriate spots in a listview. Could someone please explain to me what i should do now?

Thanks in advance.
AnswerRe: Opening... Pin
Tarakeshwar Reddy19-Dec-06 20:51
professionalTarakeshwar Reddy19-Dec-06 20:51 
QuestionFree Website Hosting for .Net Apps?? Pin
Muammar©19-Dec-06 20:17
Muammar©19-Dec-06 20:17 
AnswerRe: Free Website Hosting for .Net Apps?? Pin
S. Senthil Kumar19-Dec-06 21:13
S. Senthil Kumar19-Dec-06 21:13 
GeneralRe: Free Website Hosting for .Net Apps?? Pin
Muammar©19-Dec-06 21:18
Muammar©19-Dec-06 21:18 
GeneralPlease check back later!! Pin
Muammar©19-Dec-06 21:25
Muammar©19-Dec-06 21:25 
GeneralRe: Please check back later!! Pin
szukuro20-Dec-06 5:05
szukuro20-Dec-06 5:05 
GeneralRe: Please check back later!! Pin
Muammar©23-Dec-06 21:15
Muammar©23-Dec-06 21:15 
QuestionContour Chart Pin
mariarajakumar19-Dec-06 20:01
mariarajakumar19-Dec-06 20:01 
AnswerRe: Contour Chart Pin
Paul Conrad26-Dec-06 17:12
professionalPaul Conrad26-Dec-06 17:12 
QuestionCan we use Forms instead of UserControls Pin
quiteSmart19-Dec-06 19:39
quiteSmart19-Dec-06 19:39 
AnswerRe: Can we use Forms instead of UserControls Pin
Tarakeshwar Reddy19-Dec-06 19:45
professionalTarakeshwar Reddy19-Dec-06 19:45 
Questionlock statements - backstage... Pin
Shy Agam19-Dec-06 19:28
Shy Agam19-Dec-06 19:28 
AnswerRe: lock statements - backstage... Pin
Tarakeshwar Reddy19-Dec-06 19:42
professionalTarakeshwar Reddy19-Dec-06 19:42 
GeneralRe: lock statements - backstage... Pin
Shy Agam19-Dec-06 19:49
Shy Agam19-Dec-06 19:49 
GeneralRe: lock statements - backstage... Pin
Tarakeshwar Reddy19-Dec-06 19:59
professionalTarakeshwar Reddy19-Dec-06 19:59 
GeneralRe: lock statements - backstage... Pin
Shy Agam19-Dec-06 20:23
Shy Agam19-Dec-06 20:23 
GeneralRe: lock statements - backstage... Pin
S. Senthil Kumar19-Dec-06 21:17
S. Senthil Kumar19-Dec-06 21:17 

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.