After the ASP.NET front-end GridView binds the data source, it has already obtained the value in the data field. The front-end controls have bound the corresponding fields respectively. How can the front-end display display two query results side by side in each row?
As shown in the picture:
The current layout is like this, how can we display two in each row?
.net controls are a stumbling block that hinders programmers from designing. Things that can obviously be implemented using loops require a gridview, but it is troublesome to encapsulate p into a thing and expand it. It is recommended to use loops to implement it.