1、创建数据类
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;namespace DataGridViewTest
{internal class UserData{public string Name { get; set; }public int Weight { get; set; }public int …