Click here to Skip to main content
15,888,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an admin panel in my project in which I am using text boxes for entering data. It's working fine but I want to insert bulk data such as questions of different category. Would you please tell me if there is any other way to do the task ? anyway to use excel sheet or something like that ?
Posted

1 solution

Bulk insert, as all other database problems, is nothing specific to MVC. You just need to learn how to work with ADO.NET. For the problem of bulk operations, please read appropriate MSDN articles:
http://msdn.microsoft.com/en-us/library/vstudio/1y8tb169%28v=vs.100%29.aspx[^],
http://msdn.microsoft.com/en-us/library/s4s223c6%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/aadf8fk2%28v=vs.110%29.aspx[^].

And so on…: http://bit.ly/1nhWUDZ[^].

This CodeProject article can also be useful: Multiple Ways to do Multiple Inserts[^].

—SA
 
Share this answer
 

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