ASP.NET 获取Gridview中checkbox选中的值.每次插入数据库都是插入2条数据.

2025-03-22 18:15:19
推荐回答(1个)
回答1:

for (int i = 0; i <= GridView1.Rows.Count-1; i++)循环两次