Click here to Skip to main content
15,887,942 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have Import Excel Sheet To Sql server with Full Formatting
That Is

If My Excel Sheet Contain records like Paragraph Then Grid will be show records with with Para


like

Details
-----------

Hi

This Is Para



suppose above my excel sheet contain Detail column with entry like above
Then I have to show Same entry in Grid with Same Formatting of paragraph


I have do Simple Import row By row -Not working
Bulk Insert -Not working

Try To convert Text Html Format Then Save To sql - Not Found Way

IF anyOne Knows Than Please Help

Thanks In Advance
Posted

1 solution

Not sure what formatting you mean in your question, but to retrieve data from Excel and store it to SQL, you can either use Excel Interop[^] or Excel OLEDB[^]. Of course, to be able to insert to the DB, you need to familiarize yourself with ADO.Net.
 
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