njitram 0 Newbie Poster

Hello i need some help!

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

This aint working ... ;)

Colums: ID, Name
Values:
idPlayers = Reader.GetString(0);
nmPlayers = Reader.GetString(1);

How can i add this into the dataGrid table?

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.