开发者

insert the bulk records to the table using loop

开发者 https://www.devze.com 2022-12-17 13:32 出处:网络
i have a table called \'studentdetails\'. i dont want to insert the record one b开发者_StackOverflow社区y one during button click,instead i want to insert some hundred records using looping statement.

i have a table called 'studentdetails'. i dont want to insert the record one b开发者_StackOverflow社区y one during button click,instead i want to insert some hundred records using looping statement.Any idea??


If you are using .net then using DataSet's AcceptChanges() you can achieve this.

This url shows you an example http://msdn.microsoft.com/en-us/library/system.data.dataset.acceptchanges.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消