jeudi 6 août 2015

Android Studio from database with sqlite to datagridview and header columns

i'm messed up. Ok let's go to explain my problem. I have this table in my db.

piecetable (description, imgdescription, imgpiece, codsag, codoe, n, csct, a, b, cod_auto, cod_brand).

I have a simple Datagridview with fixed eight columns called piecedatagridview and i want get data from db and put into this datagridview. How can i do it?

Two columns must contains two image got from imgdescription and imgpiece and we can find them into "drawable" folder of project.

How can i load, for first, headers column with bold character into datagridview and then load rows from db?

Thanks very much.

Cris

Aucun commentaire:

Enregistrer un commentaire