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

Recommended Answers

All 7 Replies

Hi,

What is the functionality that you need?.

Regards,
Camilo

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

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

Regards,
Camilo

Hello i need some help! :P

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

How can i add this into the table?

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");

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

How can i delete the first empty colum?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.