current position:Home>WinForm which table control can realize the following functions?

WinForm which table control can realize the following functions?

2022-02-04 16:33:58 CSDN Q & A


I just learned. C#, I use Listview After tossing and turning all night, it didn't come true …… Successfully read from the database , Also filled in the first column , But the data that should be displayed in the second column is still displayed down in the first column


Just show the product name , Arrange by Shelf Number
Select Trade name from table where Shelf Number like'01%' First floor
The second floor is like '02%'
I can't do anything ……

I've used finished software with this function , It looks like listview

Take the answer :

datagridview It should be possible to , Create the largest row and column according to the shelf number with code , The rest is to backfill the row and column data corresponding to the shelf number !

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.

Random recommended