Using foreach for insert gridview data into sql database

前端 未结 5 721
有刺的猬
有刺的猬 2021-01-24 03:34

I have a client side gridview data and I want to insert gridview data to sql database . at first I import data from excel to gridview and now I want to insert it into sql datab

5条回答
  •  抹茶落季
    2021-01-24 04:03

    Wow, a Goto....

    Well, you break your foreach after the first record. And after that you start your foreach again from the first one one....

提交回复
热议问题