Click here to Skip to main content
16,020,447 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Any sample to insert multiple row in a grid view and a button to save all record.

Thanks.
Posted

 
Share this answer
 
Comments
Member 8412080 14-Aug-12 4:46am    
i ready but cannot function..
Try This

C#
foreach (DataGridViewRow row in dataGridView1.Rows)
            {
            // here your Storedprocdure
           //MessageBox.Show(row.Cells[0].Value.ToString());
            }


Also Go through this link

http://www.itprojectsforyou.com/gridview_insert.php
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900