please help me to do Saving Gridview and Non Gridview data to Sql Database

you can get data in gridview by loop. each row in gridview insert into database (data in gridview and database are similar).
if non gridview, you must define struct to save data, next the same each row in gridview