I am using ASP.NET MVC database first. Please how do I upload and save this excel sheet into the database using stored procedure
Table
Excel
CategoryID is auto-generated.
- Level 1: is the root parent. Its ParentID should be zero (0)
- Level 2 are the direct children of Level 1. Its ParentID is the CategoryID of Level 1
- Level 3 are the direct children of Level 2 Its ParentID is the CategoryID of Level 2
- Level 4 are the direct children of Level 3. Its ParentID is the CategoryID of Level 3
- It can continue to n level
- ParentID1 is the Level. Level 1=1, level2=2
Please how do I go about it