0

Hello,

I started today i already got some help but i cant find anny where how to build a
multiple sort listbox..

Can some one help me on this information?

Greetz
Marty

3
Contributors
7
Replies
8
Views
9 Years
Discussion Span
Last Post by selvaganapathy
0

Some programms have it like excel only excel doesnt have the functionality

Click on the colum of the list box and it sorts that colum

0

If you want that kind of functionality maybe you should cosider using a DataGridView.

Regards,
Camilo

0

Hello i need some help! :P

dataGridView1[ID].Add(idPlayers);
dataGridView1[Name].Add(nmPlayers);

How can i add this into the table?

0

Add two columns ID and Name

dataGridView1.Columns.Add("ID", "ID");
    dataGridView1.Columns.Add("Name", "Name");

First String for reference , second for display
This should be in form load.
To add Details

dataGridView1.Rows.Add("001", "Name of Player");
0

Now i have another problem ;)
Its working btw Thanks but my dataGridView has a empty colum.. :(

How can i delete the first empty colum?

0

DataGridView Rows has Remove Property and RemoveAt property
If you not meant the Empty row automatically created , then
You can use RemoveAt Property,

// Syntax RemoveAt ( Index ) - It throws exception if Index is not valid one
    dataGridView1.Rows.RemoveAt(0);

other wise set
AllowUserToAddRows Property to False

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.