Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

Sign in to follow this  
legd1991

célula em datagridview

Recommended Posts

legd1991

boas,

eu estou a carregar numa datagridview os dados da minha base de dados, nao uso dataset é por código, e tenho um campo com imagens, gostaria de mudar o tipo de coluna da datagridview.. alguem sabe como se faz?

cumps

legd1991

Share this post


Link to post
Share on other sites
bioshock

Exemplo:

Me.DataGridView1.Columns(4).Width = 175

Onde o "4" é o index, lembra-te: O index começa sempre no 0.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.