| |

VerySource

 Forgot password?
 Register
Search
View: 687|Reply: 3

Excuse me, how to fill the picture in the cells of the datagridview control, just like inserting pictures in the excle?

[Copy link]

2

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Unknown

Post time: 2020-1-24 10:40:02
| Show all posts |Read mode
Excuse me, how to fill the picture in the cells of the datagridview control, just like inserting pictures in the excle?
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-15 10:00:01
| Show all posts
Set the type of the column to the DataGridViewImageColumn type.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-17 20:30:01
| Show all posts
If it is just inserted into a cell, it can be set to DataGridViewImageCell to achieve the function.
If you need to drag or resize the picture like Excel, you need additional controls on the DataGridView. Usually attach a form, or attach a picture control (Pic).
Reply

Use magic Report

2

Threads

9

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-8-7 20:00:01
| Show all posts
mark
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list