Click here to Skip to main content
15,919,893 members
Home / Discussions / C#
   

C#

 
GeneralRe: submit articles Pin
bsaksida9-Feb-08 23:46
bsaksida9-Feb-08 23:46 
GeneralRe: submit articles Pin
Xmen Real 10-Feb-08 0:11
professional Xmen Real 10-Feb-08 0:11 
GeneralRe: submit articles Pin
Paul Conrad10-Feb-08 4:54
professionalPaul Conrad10-Feb-08 4:54 
GeneralSimple Data Biding Pin
bsaksida9-Feb-08 23:41
bsaksida9-Feb-08 23:41 
GeneralRe: Simple Data Biding Pin
bsaksida10-Feb-08 0:07
bsaksida10-Feb-08 0:07 
Generalsharepoint Pin
justintimberlake9-Feb-08 23:18
justintimberlake9-Feb-08 23:18 
Generalstring[] problem Pin
Xmen Real 9-Feb-08 23:09
professional Xmen Real 9-Feb-08 23:09 
GeneralRe: string[] problem Pin
Luc Pattyn10-Feb-08 0:43
sitebuilderLuc Pattyn10-Feb-08 0:43 
Hi,

you can't remove an item from an array; in an array with fixed length, the only thing you can do
is modify an item, but setting it to null does not *remove* it; when added to the textbox, it
will yield an empty line.

what you need is a collection (an ArrayList or a List< string> ) which behaves somewhat like
an array but does support item insertion/removal. So read up on ArrayList or List< T>.
ArrayList is easier for a novice but may need some casts, List< T> is a "generic" which exists
since C# 2.0

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: string[] problem Pin
Xmen Real 10-Feb-08 2:18
professional Xmen Real 10-Feb-08 2:18 
GeneralRe: string[] problem Pin
Martin#10-Feb-08 20:41
Martin#10-Feb-08 20:41 
GeneralRe: string[] problem Pin
Xmen Real 10-Feb-08 23:34
professional Xmen Real 10-Feb-08 23:34 
GeneralTabbed Explorer Pin
kulkoustubh9-Feb-08 22:28
kulkoustubh9-Feb-08 22:28 
GeneralRe: Tabbed Explorer Pin
pmarfleet9-Feb-08 22:44
pmarfleet9-Feb-08 22:44 
GeneralRe: Tabbed Explorer Pin
kulkoustubh11-Feb-08 2:30
kulkoustubh11-Feb-08 2:30 
GeneralRe: Tabbed Explorer Pin
pmarfleet11-Feb-08 3:17
pmarfleet11-Feb-08 3:17 
GeneralRe: Tabbed Explorer Pin
kulkoustubh12-Feb-08 2:27
kulkoustubh12-Feb-08 2:27 
GeneralRe: Tabbed Explorer Pin
pmarfleet12-Feb-08 2:39
pmarfleet12-Feb-08 2:39 
GeneralRe: Tabbed Explorer Pin
kulkoustubh12-Feb-08 6:49
kulkoustubh12-Feb-08 6:49 
GeneralRe: Tabbed Explorer Pin
Gareth H9-Feb-08 22:51
Gareth H9-Feb-08 22:51 
Questionhow to get file from internet by using the webclient Pin
Shaik Haneef9-Feb-08 20:41
Shaik Haneef9-Feb-08 20:41 
AnswerRe: how to get file from internet by using the webclient Pin
Gareth H9-Feb-08 23:02
Gareth H9-Feb-08 23:02 
AnswerRe: how to get file from internet by using the webclient Pin
Dave Kreskowiak11-Feb-08 4:38
mveDave Kreskowiak11-Feb-08 4:38 
GeneralImportant To hellp me Pin
Thaer Hamael9-Feb-08 20:34
Thaer Hamael9-Feb-08 20:34 
GeneralWrong forum Pin
pmarfleet9-Feb-08 22:36
pmarfleet9-Feb-08 22:36 
GeneralRe: Important To hellp me Pin
Mircea Puiu10-Feb-08 23:46
Mircea Puiu10-Feb-08 23:46 

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.