crest dubua

crest dubua

  • NA
  • 19
  • 0

ListBOX multiColumn. EASY problem.

May 24 2008 4:39 AM

Ok.   I write some lines to a file.

Then when i try to get them displayed in a listBOX........

I got them but on a Single-LINE[Row].

 

What property shall i change to get that text displayed on more Lines

 and not on a      ...Long  Long single Row ??

 

Here is some code I wrote :

DataSet DES=new DataSet();

XmlTextReader XRR=new XmlTextReader("D:\\BOTOLA_MyDocument_Projects\\My Documents\\Visual Studio 2005\\Projects\\cs_XML_World\\cs_XPATH_preCOMPILATION\\JO_Co.xml");

DES.ReadXml(XRR);

StringWriter SW=new StringWriter();

DES.WriteXml(SW);

LB1.Items.Add(Convert.ToString(SW));

 

[Text displays ona single line in my LB1[ListBOX]]

HELP !  

Thanks.


Answers (1)