I have a datagridview control on my form. i use this to display data including images. Please how can i set the row height of the datagridview control so the picture can be well displayed?

Thanks

Recommended Answers

All 2 Replies

Member Avatar for Huntondoom

DGV.RowTemplate.Height = PictureHeigth

You'll have to Find out oh to convert the standards since
Pictures are in Pixels
and I don't know in what a Datagridview rows Height is measured in pixels or inches I don't know

use this

DataGridView1.SetBounds(x, y, width, height)
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.