C# Programming
11-26-2009, 03:30 AM
hey!!
im in a prob.i am trying to add some column and items in a list view.
but cant add a column even.Here is a code snippet. i am novice in C#. plz help.
Thanks in advance.
TANIM
Bangladesh
private void Form1_Load(object sender, EventArgs e)
{
ColumnHeader columnHeader1 = new ColumnHeader();
//columnHeader1.Text = "TANIM";
listView1.Columns.Add(columnHeader1);
//listView1.Columns.Add("TANIM", -2, HorizontalAlignment.Left);
}
im in a prob.i am trying to add some column and items in a list view.
but cant add a column even.Here is a code snippet. i am novice in C#. plz help.
Thanks in advance.
TANIM
Bangladesh
private void Form1_Load(object sender, EventArgs e)
{
ColumnHeader columnHeader1 = new ColumnHeader();
//columnHeader1.Text = "TANIM";
listView1.Columns.Add(columnHeader1);
//listView1.Columns.Add("TANIM", -2, HorizontalAlignment.Left);
}