I am a beginner in C#.

I have two string variables, strA and strB, each with 15 values.

The values should be displayed in two columns in a listView control.

At design time I have added the two columns in Properties: Columns
(Collection).
I have chosen Properties View: Details.

for(int i=0; i<=14;i++)
{
this.listView1.Items.Add(strA[i]);
}

displays the strA values in the first column.

How can I get the strB values to be displayed in the second column,
using the same loop?

/Niltson

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to