User839733648 posted
Hi callykalpana,
callykalpana
I actually created a data table to store each cells 15 fields information and trying to use stored procedure to insert it into the database. Is this the right approach,
Yes, you could use stored procedure.
In my opinion, I suggest that you could just use different SQL statement to insert the data to the datebase you want.
string testvalue = (gridview1.FindControl("yourcontrolid") as Label).Text;
string query = "insert into table_name values(" +testvalue+ ")";
Reference: https://www.c-sharpcorner.com/blogs/insert-data-into-database-from-gridview-in-asp-net1
Best Regards,
Jenifer